- Documentation
- Shared functions
- getModelDefaultSeatPosition
Function
getModelDefaultSeatPosition
Returns the game's factory seat position for a model (for new models, of the base model), without script changes.
Syntax
float, float, float, float getModelDefaultSeatPosition(int model, int seat)Arguments
modelint- Vehicle model ID.
seatint- Seat 0-7.
Returns
x, y, z, heading, or false when the model has no such seat.
Example
local x, y, z = getModelDefaultSeatPosition(400, 1)