ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setVehicleSmokeTrailEnabled

Function

setVehicleSmokeTrailEnabled

ServerVehiclesIdentical to MTA:SA

Stores whether a smoke trail should follow a plane (e.g. Stuntplane, Cropduster).

Syntax

bool setVehicleSmokeTrailEnabled(vehicle vehicle, bool value)

Arguments

vehiclevehicle
The plane.
valuebool
true = 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.

See also