Installation
1. Start Resource
Download the purchased resource from CFX Portal - the official site of FiveM with purchased resources.
2. Required Dependencies
This resource requires the following dependencies to function properly:
es_extended https://github.com/ESX-Official/es_extended
polyzone https://github.com/mkafrin/PolyZone
ox_Inventory https://github.com/overextended/ox_inventory
3. Imports
Item (ticket) configuration in your inventory:
Example for ox_inventory
:
luaCopierModifier['ticket_arcade_bronze'] = { label = "Bronze Ticket", weight = 0.01 },
['ticket_arcade_argent'] = { label = "Silver Ticket", weight = 0.01 },
['ticket_arcade_or'] = { label = "Gold Ticket", weight = 0.01 },
4. Start Resource
To start a resource in your server.cfg
, ensure that it begins after your framework has been initiated. For instance, if you are using a framework like es_extended
, you should start resource after it, like so:
ensure [core] # For example, here is your framework (esx/qb-core)
ensure PolyZone
ensure ox_inventory
# DyScrypt Resources
ensure ds-arcade
# Here you run your other resources like esx_policejob etc.
Ensure there are no syntax errors or incorrect paths in your server.cfg
.
Last updated