GetVehicleModelExhaustFumesPosition

From Multi Theft Auto: Wiki
Revision as of 10:49, 6 July 2018 by Myonlake (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

float, float, float getVehicleModelExhaustFumesPosition ( int modelID )

OOP Syntax Help! I don't understand this!

Method: Vehicle.getModelExhaustFumesPosition(...)
Counterpart: setVehicleModelExhaustFumesPosition


Required Arguments

  • modelID: The vehicle model ID.

Returns

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

Example

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