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

Function

getVehicleModelDummyDefaultPosition

ServerVehiclesIdentical to MTA:SA

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

See also