setVehicleModelExhaustFumesPosition | Multi Theft Auto: Wiki Skip to content

setVehicleModelExhaustFumesPosition

Client-side
Server-side
Shared

Pair: getVehicleModelExhaustFumesPosition

Manual Review Required

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


This function sets the position of the exhaust fumes the vehicle model emits. Use setVehicleComponentPosition to adjust the exhaust position.

OOP Syntax Help! I don't understand this!

Syntax

bool setVehicleModelExhaustFumesPosition ( int modelID, float posX, float posY, float posZ )
Required Arguments
  • modelID: The model ID which you want to apply the change to
  • posX: The desired position
  • posY: MISSING_PARAM_DESC
  • posZ: MISSING_PARAM_DESC

Returns

  • bool: value

Returns true if everything went fine, 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