isVehicleBackfireEnabled
Cliente
Dice si un vehículo suelta llamas solo por el escape.
bool isVehicleBackfireEnabled(vehicle vehicle)
Parámetros
| Nombre | Tipo | Descripción |
|---|---|---|
| vehicle | vehicle | El vehículo. |
Retorno
true si las llamas automáticas están encendidas, false si están apagadas o el vehículo no está cargado (streamed in).
Ejemplo
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
outputDebugString("backfire: " .. tostring(isVehicleBackfireEnabled(vehicle)))
end