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

Function

getVehicleDummyPosition

ServerVehiclesIdentical to MTA:SA

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")

See also