- Documentation
- Server functions
- getVehicleModelDummyDefaultPosition
Function
getVehicleModelDummyDefaultPosition
Returns the factory position of a model helper point. For seat_front and seat_rear it gives the game's factory front and rear seat position.
Syntax
float, float, float getVehicleModelDummyDefaultPosition(int model, string dummy)Arguments
modelint- Vehicle model ID.
dummystring- Point name.
Returns
x, y, z, or false when unknown.
Example
local x, y, z = getVehicleModelDummyDefaultPosition(400, "seat_front")