Customization
Want to add triggers or exports on selected actions? Here you will read about it! Functions can be found in client/utils.lua
onHackStart(vehicle, heist)
Function which is executed when player start hacking.
onHackFail(vehicle, heist)
Function which is executed when player fail hacking.
onHackSuccess(vehicle, heist)
Funciton which is executed when palyer success hack device.
Data In Functions
Data stored in functions variables.
vehicle:
vehicle
heist:
KeysSignal:
vec3
- Return vehicle keys signal coordsDestinationSpawned:
boolean
- Return status of destination pedDestinationPed:
ped
- Return spawned ped idDestinationPedCoords:
vec3
- Return destination ped coordsDestinationForward:
vec3
- Return destination ped forward vectorDestinationIsDriving:
boolean
- Return status of destination ped drivinghackSuccess:
boolean
- Return status of hackspawnedvehicle:
vehicle
- Return spawned vehicle objectVehicle:
table
- Return current heist vehicle table from config.blip, blip2, blip3:
blip
- Return created blips (blip: vehicleblip, blip2: radius blip, blip3: destination blip)
Last updated