Hey there! Welcome to the FearlessStudios-FiveMTemplate. This is your go-to setup for crafting Lua resources tailored for FiveM.
This script now requires FS-Lib found here https://github.com/FearlessNite345/FS-Lib/releases/latest
Setting up the postal system is easy:
-
Grab a Postal File:
- Check out the
postalsfolder for all available postal JSON files.
- Check out the
-
Customize (Optional):
- Want your own postal setup? No problem!
- Drop your custom postal JSON file into the
configfolder.
Just make sure whatever file you're using is named "postals.json". With that, you're all set to go!
exports['FS-HUD']:getAOP() -- returns current locally stored AOP (should be the same as server)exports['FS-HUD']:showHud()exports['FS-HUD']:hideHud()isHudHidden()
exports['FS-HUD']:isHudHidden() -- return true or false if hud is hiddenexports['FS-HUD']:getAOP() -- returns current server stored AOP (should be the same as client)Your contributions are invaluable! If you encounter a bug or have a enhancement / optimization in mind, please don't hesitate to open an issue or submit a pull request.
This project is licensed under the MIT License, providing you with the freedom to integrate it seamlessly into your own projects.
Happy coding!