as start the car?
#1

shut down:
pawn Код:
for(new i=0;i<MAX_PLAYERS;i++) {
        if (isrefuelling[i]) continue;
        new vid = GetPlayerVehicleID(i);
        if (GetPlayerVehicleSeat(i) == 0) {
            fuel[vid] = fuel[vid] -1;
            if (fuel[vid]<1)
            {
                fuel[vid] = 0;
                SetVehicleParamsEx(vid,0,0,0,0,1,1,0); //change this to watever you like
                GameTextForPlayer(i,"~b~Fuel~y~ Ende~p~d",5000,4); //show text
            }
        }
        new string[125];format(string,sizeof string,"Fuel: ~r~%i~g~",fuel[vid]);
        TextDrawSetString(td_fuel[i],string);

    }
and start the car?? +rep
Reply


Messages In This Thread
as start the car? - by StarPeens - 13.03.2015, 03:36
Re: as start the car? - by CalvinC - 13.03.2015, 05:52
Re: as start the car? - by Gammix - 13.03.2015, 06:22

Forum Jump:


Users browsing this thread: 2 Guest(s)