Functions
State Bags
lightAnim:
true
- Light animation is in progresssuspensionAnim:
true
- Suspension animation is in progressleavedKeys:
true
- The NPC left the keys in the vehiclecantFindKeys:
true
- Keys cannot be found in the vehiclewasHotwired:
true
- The wires have been connected in the vehiclealreadyJacked:
true
- The vehicle has been stolenengineEnabled:
true
- The engine was started by the remote ignition system
Animations
vehicle:
number
newLightsMultiplier:
float
interiorLight:
boolean
data:
array of objects
duration:
number
gap:
number
fadeIn:
boolean
fadeOut:
boolean
Give Key
plate:
string
Remove Key
plate:
string
Has Keys
plate:
string
return: boolean
Getting Script Type Key
vehicle:
number
return: string("new_car", "old_car", "universal", "bike")
Setting Lock State
netId:
number
state:
number(1 = unlocked, 2 = locked)
Toggle Lock In Nearest Vehicle
Last updated