Scripts/resources/[standalone]/hacking
2024-12-29 21:02:20 +01:00
..
client Part 5 2024-12-29 21:02:20 +01:00
html Part 5 2024-12-29 21:02:20 +01:00
fxmanifest.lua Part 5 2024-12-29 21:02:20 +01:00
README.md Part 5 2024-12-29 21:02:20 +01:00

Hack minigame FiveM build

Because of our great contributors there is now a FiveM version.

⚠ STILL IN ALPHA ⚠

This version has just recently been released and is still being worked on. Excpect bugs!
Do you have knowledge with FiveM? Improve the code and your changes will happily be added.

Getting started

  1. Download the folder hacking trough git or here
  2. Drop it into your FiveM server in server\resources\
  3. Implement the hack in your client-side lua file using the open:minigame trigger.

Example implementation

Use the Success boolean variable.
In this example implementation the outcome is "1" if succesful and "2" if failure.

exports['hacking']:OpenHackingGame(20, 5, 5, function(Success)
        print(Success)
        if Success then
            print("1")
        else
            print("2")
        end
end)

FiveM documentation

Read about scripts in FiveM from the FiveM Docs.