Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Leah-UK/bixbi_vehkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiveM Profile | Support Me Here


Information

A very basic vehicle locking system. By default players part of the ambulance or police job can open any emergency vehicle as if it was their own. You can change this in server.lua and within the 'bixbi_vehkeys:CheckKey' event.


Requirements


Exports

You will need to use the following exports when a vehicle is spawned, to give them the correct key

Give Player a Key - Server Only TriggerEvent('bixbi_vehkeys:AddKey', playerId, plate) Example:TriggerEvent('bixbi_collection:AddKey', 1, "LE4H")

Remove Key from Player - Server Only TriggerEvent('bixbi_vehkeys:RemoveKey', playerId, plate) Example:TriggerEvent('bixbi_vehkeys:RemoveKey', 1, "LE4H")


Feel free to modify to your liking. Please keep my name (Leah#0001) in the credits of the fxmanifest. If your modification is a bug-fix I ask that you make a pull request, this is a free script; please contribute when you can.

About

FiveM Vehicle Keys Script - for RP servers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages