- Documentation
- Server functions
- setVehicleSmokeTrailEnabled
Function
setVehicleSmokeTrailEnabled
Stores whether a smoke trail should follow a plane (e.g. Stuntplane, Cropduster).
Syntax
bool setVehicleSmokeTrailEnabled(vehicle vehicle, bool value)Arguments
vehiclevehicle- The plane.
valuebooltrue= trail on.
Returns
true on success.
Example
local plane = createVehicle(513, 1950, -2300, 14)
setVehicleSmokeTrailEnabled(plane, true)
Notes
State for scripts. The game does not draw the trail on a script's command yet.