QBCore
Installation guide
Last updated
Installation guide
Last updated
You will receive the script in profile, after this click in blue "download" button.
After download, put the script in your server files.
Remeber:
You need to be logged with the same cfx.re account you used to buy in my tebex store.
or or
Any garage script who uses (player_vehicles)
Download all the scripts by clicking on their respective names, put them in the server files and start server.cfg
Open your inventory - server - main.lua Line 598 and add this under:
Line 667 and add this under:
If you skip this you will not have stash logs working
If you have jpr-inventory you can skip this
To add stash images open: jpr-crewsystem - html - img - items
Here you can add your own images to your items
To incorporate level system with your custom scripts follow this steps:
To remove level:
TriggerServerEvent("jpr-crewsystem:server:tirarnivel", here put crew name, here amount of xp to remove)
To add level:
TriggerServerEvent("jpr-crewsystem:server:darnivel", here put crew name, here amount of xp to add)
This step serves to synchronize the vehicles taken from the garage with the vehicles taken from the crew system garage, i will do a example with qb-garages:
Qb-Garages / server / main.lua
Find: qb-garage:server:spawnvehicle
Add this inside the callback:
TriggerEvent("jpr-crewsystem:server:atualizargaragemcrew", plate, veh)
In the end of file, add this little code:
RegisterServerEvent('jpr-crewsystem:server:atualizargaragem') AddEventHandler('jpr-crewsystem:server:atualizargaragem', function(plate, veh) if (plate ~= nil and veh ~= nil) then local netId = NetworkGetNetworkIdFromEntity(veh) OutsideVehicles[plate] = {netID = netId, entity = veh} end end)
JPR - Garages buyers can skip this.
Open config.lua and set Config.UseIlleniumAppearance = true
Open IlleniumAppearance resource / server / database / playeroutfits and find:
Replace to:
Only need to execute SQL file attached to crewsystem folder.
This is mandatory to avoid errors
Setup all config.lua to your needs, read all comments in green color to be more easier.
You are good to go! Any question open a ticket in my discord server.