isVehicleBackfireEnabled
Client
Tells whether a vehicle lets out flames from its exhaust by itself.
bool isVehicleBackfireEnabled(vehicle vehicle)
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | vehicle | The 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