ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. resetModelSeatPosition

Function

resetModelSeatPosition

ServerVehiclesTrilogy Hub only

Restores the factory (or inherited from the base model) position of one seat of a model or, without a seat number, of all its seats.

Syntax

bool resetModelSeatPosition(int model [, int seat = nil])

Arguments

modelint
Vehicle model ID.
seatint, optional = nil
Seat 0-7; nil = all.

Returns

true on success.

Example

resetModelSeatPosition(411)

See also