Happy Halloween!
Here we have a simple but fun trick or treat script for your citizens to enjoy. This resource offers players a unique in-game experience, bringing the festivity of Halloween right into the heart of your roleplay environment. When players speak to a local they can be given either a trick or a treat, randomly selected. Script includes 6 tricks and 6 treats, but is set up to be infinitely expandable if you want to add anything extra. Enjoy!
None, script is entirely standalone.
- Script Customisation:
- Customise
shared/config.lua
to your servers requirements. - If you wish to edit the language you can do so throughout the
client/main.lua
script may be updated to contain a language file in future if requested however its just a little fun script its not really needed. - If you wish to change the keymapping you can do so at the bottom of the
client/main.lua
, players can change in FiveM keybindings in their game settings.
- Script Installation:
- Drag and drop
boii_trickortreat
into your server resource ensuring your load order is correct. View the attached image below for a load order reference.
- If you are not using categorised folders within your server then you add
ensure boii_trickortreat
to yourserver.cfg
- Start Script / Restart Server:
- Once you have completed all of the above steps you are now ready to restart your server and the resource should be working.
- You could also just live start the resource by pressing F8 and typing
refresh; ensure boii_trickortreat