M MY Multiplayer: Wiki
Lado
Tipo

isVehicleBackfireEnabled

Cliente

Diz se um veículo solta chamas sozinho pelo escapamento.

bool isVehicleBackfireEnabled(vehicle vehicle)

Parâmetros

NomeTipoDescrição
vehiclevehicleO veículo.

Retorno

true se as chamas automáticas estão ligadas, false se estão desligadas ou o veículo não está carregado (streamed in).

Exemplo

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

Veja também