Client Exports
ToggleAnchor
ToggleAnchor
Toggles the boat anchor if it’s available.
SetCruiseLimit
SetCruiseLimit
Toggles the cruise limit.
FlipVehicle
FlipVehicle
Flips the given vehicle.Parameters
- vehicle: number
ToggleSeatBelt
ToggleSeatBelt
Toggles the seat belt if active.
IsSeatBeltActive
IsSeatBeltActive
Returns true if the player is in a vehicle with a seat belt.
IsSeatBeltOn
IsSeatBeltOn
Returns true if player wears seat belt.
Client Events
no-vehicles:anchor:toggle
no-vehicles:anchor:toggle
Toggles the boat anchor if it’s available.
no-vehicles:cruise:toggle
no-vehicles:cruise:toggle
Toggles the cruise limit.
no-vehicles:roll:flip
no-vehicles:roll:flip
Flips the given vehicle.Parameters
- vehicle: number
no-vehicles:seatbelt:toggle
no-vehicles:seatbelt:toggle
Toggles the seat belt if active.
no-vehicles:seatbelt:active
no-vehicles:seatbelt:active
Triggered by us when player get in a vehicle with a seat belt.Parameters
- status: boolean
no-vehicles:seatbelt:state
no-vehicles:seatbelt:state
Triggered by us when player puts on the seat belt.Parameters
- status: boolean

