๐Ÿ“Installation

Script Download

1

Log Into CFX Portal

CFX Portal

2

Granted Assets

Navigate to the assets page to find the resource.

Script Setup

1

Adding Inventory Items

QB-Core Items Are Automatically Added!

OX_Inventory Items Setup:

['towremote'] = {
    label = 'Tow Remote',
    weight = 100,
},
['reponote'] = {
    label = 'Tow Note',
    weight = 100,
},
2

Adding Inventory Images

Go to pug-repojob/itemPNGS then go to your inventory and paste all images directly into images folder.

Optional Additions

1

Sound Effects

Install the sound files in the pug-repojob/InteractSoundFiles into [standalone]/interact-sound/client/html/sounds if you want the 4 sound effects along with the script

2

Allow Users to Own Vehicle (QBCore)

If you want to allow players to own and store a flatbed3 truck, you'll need to modify the delete vehicle function. This ensures the flatbed is not left floating when parked.

function QBCore.Functions.DeleteVehicle(vehicle)
    SetEntityAsMissionEntity(vehicle, true, true)
    DeleteVehicle(vehicle)
    TriggerEvent("Pug:client:PutFlatbedAwayCustomEvent")
end

Last updated