[Ajuda] Flood
#4

Coloca assim
pawn Код:
if(Gas[GetPlayerVehicleID(i)] > 0)
    Gas[GetPlayerVehicleID(i)]--;

if(Gas[GetPlayerVehicleID(i)] == 0)
{
    Gas[GetPlayerVehicleID(i)]--;
    SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,0,0,0,0,0,0);
    SendClientMessage(i, COLOR_RED,"[ERRO] Veiculo sem combustivel.");
}
Reply


Messages In This Thread
Flood - by MatheusAlcapone - 17.11.2012, 16:59
Re: Flood - by ViniBorn - 17.11.2012, 18:17
Re: Flood - by MatheusAlcapone - 17.11.2012, 18:38
Re: Flood - by ViniBorn - 17.11.2012, 19:06

Forum Jump:


Users browsing this thread: 1 Guest(s)