M MY Multiplayer: Wiki
Side
Kind

isVehicleBackfireEnabled

Client

Tells whether a vehicle lets out flames from its exhaust by itself.

bool isVehicleBackfireEnabled(vehicle vehicle)

Parameters

NameTypeDescription
vehiclevehicleThe vehicle.

Returns

true if the automatic flames are on, false if they are off or the vehicle is not streamed in.

Example

local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
    outputDebugString("backfire: " .. tostring(isVehicleBackfireEnabled(vehicle)))
end

See also