Skip to Content
no-vehiclesExports & Events

Exports & Events

Client Exports

ToggleAnchor

Toggles the boat anchor if it’s available.

SetCruiseLimit

Toggles the cruise limit.

FlipVehicle

Flips the given vehicle.

Parameters

  • vehicle: number

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

Flips the given vehicle.

Parameters

  • vehicle: number

no-vehicles:seatbelt:toggle

Toggles the seat belt if 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

Triggered by us when player puts on the seat belt.

Parameters

  • status: boolean
Last updated on