Exports & Events

Client Exports


ToggleAnchor

Toggles the boat anchor if it's available.

SetCruiseLimit

Toggles the cruise limit.

FlipVehicle
  • vehicle: number

Flips the given vehicle.

ToggleSeatBelt

Toggles the seat belt if active.

IsSeatBeltActive

Returns true if the player is in a vehicle with a seat belt.

IsSeatBeltOn

Returns true if player wears seat belt.

Client Events


no-vehicles:anchor:toggle

Toggles the boat anchor if it's available.

no-vehicles:cruise:toggle

Toggles the cruise limit.

no-vehicles:roll:flip
  • vehicle: number

Flips the given vehicle.

no-vehicles:seatbelt:toggle

Toggles the seat belt if active.

no-vehicles:seatbelt:active
  • status: boolean

Triggered by us when player get in a vehicle with a seat belt.

no-vehicles:seatbelt:state
  • status: boolean

Triggered by us when player puts on the seat belt.

Last updated