- Documentation
- Server functions
- getVehicleDummyPosition
Function
getVehicleDummyPosition
Returns the vehicle helper point position stored with setVehicleDummyPosition.
Syntax
float, float, float getVehicleDummyPosition(vehicle vehicle, string dummy)Arguments
vehiclevehicle- The vehicle.
dummystring- Point name.
Returns
x, y, z, or false when not set.
Example
local vehicle = createVehicle(411, 2000, -1690, 13.5)
setVehicleDummyPosition(vehicle, "exhaust", 0.5, -2.3, -0.3)
local x, y, z = getVehicleDummyPosition(vehicle, "exhaust")