Exports

CheckKeyInIgnitionWhenSpawn

If the vehicle's key is in the ignition when the vehicle is stored in the garage, and you trigger this export when retrieving the vehicle, it will put the key back in the ignition.

You can use it to give keys in your garage script or different scripts

Note: Event 'vehiclekeys:client:SetOwner' in qb triggers this export

exports["tgiann-hotwire"]:CheckKeyInIgnitionWhenSpawn(vehicle, plate)

Parameters :


GiveKeyPlate

Gives the player the vehicle key

exports["tgiann-hotwire"]:GiveKeyPlate(plate, isNew)

Parameters :


GiveKeyVehicle

Gives the player the vehicle key

exports["tgiann-hotwire"]:GiveKeyVehicle(vehicle, isNew)

Parameters :


HaveKeyPlate

Returns data on whether the player has a key to the vehicle

exports["tgiann-hotwire"]:HaveKeyPlate(plate)

Parameters :


HaveKeyVehicle

Returns data on whether the player has a key to the vehicle

exports["tgiann-hotwire"]:HaveKeyVehicle(vehicle)

Parameters :


KeyInIgnition

Returns data on whether the key is inserted in the ignition

exports["tgiann-hotwire"]:KeyInIgnition(vehicle)

Parameters :


SetKeyInIgnition

Inserts or removes the key in the ignition

exports["tgiann-hotwire"]:SetKeyInIgnition(vehicle, bool)

Parameters :

Last updated