💡 Installation
Installation guide of Vehicle Keys Script
Step 1: Move Resource
Extract the zip file you downloaded from Keymaster and place the fast-vehiclekeys
folder into the resources folder.
Step 2: Start Script
Start the fast-vehiclekeys
resource in server.cfg
.
ensure fast-vehiclekeys
Step 3: Configuration Event
You can use the following exports to interact with the vehicle keys system:
Set Vehicle Owner Trigger this event to set the owner of a vehicle.
TriggerEvent("vehiclekeys:client:SetOwner", plate)
Give Temporary Key This will give a temporary key to the player for the vehicle with the specified plate.
TriggerServerEvent("fast-vehiclekeys:GiveTempKey", plate)
Remove Temporary Key This will remove the temporary key from the player for the specified vehicle.
TriggerServerEvent("fast-vehiclekeys:RemoveTempKey", plate)
Additional Information
The
plate
refers to the vehicle's plate number (e.g., "ABC123").This system can be used to manage vehicle ownership and give temporary keys to other players.
Last updated