How to add minigames
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Adding new minigames is easy. Follow the procedure to add a new minigame:
Duplicate the file missions_creator/client/minigames/_EXAMPLE_MINIGAME.lua
Rename the file to your minigame name
Open the new file, remove the comments at the beginning and at the end of the file (so remove these symbols: --[[
and --]]
)
Change YOUR_MINIGAME_NAME
to your minigame name
Edit the function to support your minigame, it must return true on success and false on failure. You can see the examples with datacrack.lua
, fingerprint.lua
and memory_game.lua
Save the file and restart the script. If you did everything correctly (especially implementing the minigame itself), you should see your minigame in the list of minigames in the script