Event List

Client

Starts or stops the vehicle's engine

TriggerEvent('tgiann-hotwire:engineOnOff')

Starts the engine of the vehicle

TriggerEvent('tgiann-hotwire:forceTurnOver', vehilce)

vehicle

  • vehicle the player is in (GetVehiclePedIsIn(PlayerPedId()))

Gives the vehicle key to the player(with license plate)

TriggerEvent('tgiann-hotwire:give-keys-with-plate', plate)

plate

  • vehicle plate the player is in (GetVehicleNumberPlateText(GetVehiclePedIsIn(PlayerPedId())))

Gives the vehicle key to the player(with license plate)

TriggerEvent('tgiann-hotwire:give-keys-with-carid', vehicle)

plate

  • vehicle the player is in (GetVehiclePedIsIn(PlayerPedId()))

Gives the car key to the nearby player

TriggerEvent('tgiann-hotwire:giveCarKeys')

Lock or unlock nearby vehicle

TriggerEvent('tgiann-hotwire:lockUnlock')

Last updated