- Documentation
- Server functions
- getVehicleModelDummyPosition
Function
getVehicleModelDummyPosition
Returns a model helper point position set with setVehicleModelDummyPosition.
Syntax
float, float, float getVehicleModelDummyPosition(int model, string dummy)Arguments
modelint- Vehicle model ID.
dummystring- Point name.
Returns
x, y, z, or false when not set.
Example
local x, y, z = getVehicleModelDummyPosition(411, "seat_front")
See also
setVehicleModelDummyPositionStores the position of a helper point (dummy) for a whole vehicle model. Theseat_frontandseat_rearpoints move the seats (front and rear) in the game for every player; other points are stored for scripts.getVehicleModelDummyDefaultPositionReturns the factory position of a model helper point. Forseat_frontandseat_rearit gives the game's factory front and rear seat position.