getVehicleModelExhaustFumesPosition | Multi Theft Auto: Wiki Skip to content

getVehicleModelExhaustFumesPosition

Client-side
Server-side
Shared

Pair: setVehicleModelExhaustFumesPosition

Manual Review Required

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


This function returns the position of the exhaust fumes the vehicle model emits.

OOP Syntax Help! I don't understand this!

Syntax

float,​ float,​ float getVehicleModelExhaustFumesPosition ( int modelID )
Required Arguments
  • modelID: The vehicle model ID.

Returns

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

Returns the position of the exhaust fumes if everything went fine or false otherwise.

Code Examples

shared
local x, y, z = getVehicleModelExhaustFumesPosition( 411 ) -- Get its exhaust fumes position
setVehicleModelExhaustFumesPosition( 411, x, y, z + 1 ) -- Set its exhaust fumes position
local vehicle = createVehicle( 411, 0, 0, 3 ) -- Create a vehicle

See Also

Vehicle Functions