- Documentation
- Server functions
- setVehicleModelExhaustFumesPosition
Function
setVehicleModelExhaustFumesPosition
Stores the exhaust outlet position for a whole vehicle model (vehicle space, metres).
Syntax
bool setVehicleModelExhaustFumesPosition(int model, float x, float y, float z)Arguments
modelint- Vehicle model ID.
xfloat- X coordinate (m).
yfloat- Y coordinate (m).
zfloat- Z coordinate (m).
Returns
true on success.
Example
setVehicleModelExhaustFumesPosition(411, 0.4, -2.3, -0.3)
Notes
State for scripts. The game does not move the exhaust smoke yet; the value is for scripts (e.g. your own effects).