How to add minigames
Adding new minigames is easy. Follow the procedure to add a new minigame:
Duplicate the file
missions_creator/client/minigames/_EXAMPLE_MINIGAME.luaRename 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_NAMEto your minigame nameEdit 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.luaandmemory_game.luaSave 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
Last updated
Was this helpful?