getVehicleModelDummyDefaultPosition | Multi Theft Auto: Wiki Skip to content

getVehicleModelDummyDefaultPosition

Client-side
Server-side
Shared
Needs checking

This function was partially migrated from the old wiki. Please review manually:

  • Missing section: Allowed Dummies

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function gets the default position of the dummies contained in a vehicle model.

OOP Syntax Help! I don't understand this!

Syntax

float,​ float,​ float getVehicleModelDummyDefaultPosition ( int modelId, string dummy )
Required Arguments
  • modelId: The model ID which you want to apply the change to.
  • dummy: The dummy whose position you want to get.

Returns

  • float: x
  • float: y
  • float: z

Returns 3 floats indicating the default position X, Y and Z of the given dummy. It returns false otherwise.

Code Examples

Script Example Missing

Function getVehicleModelDummyDefaultPosition needs a script example. Help out by writing one.

Contribution guidelines

See Also

Vehicle Functions