[Ajuda] Loop como usar
#1

Estou certo de usar assim?

pawn Код:
Time_1_Minuto(playerid);
public Time_1_Minuto(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        for(new car = 1; car <= MAX_VEHICLES; car++)
        {
            if(Motor_Do_Veiculo[GetPlayerVehicleID(i)] == true && !IsPlayerInVehicle(playerid,CivilVeiculo[car]))
            {
                Gasolina[GetPlayerVehicleID(i)]--;
            }
        }
    }
    return true;
}
Reply


Messages In This Thread
Loop como usar - by PetterAdriano - 22.01.2015, 00:24
Re: Loop como usar - by Rodney Francalim - 22.01.2015, 00:43
Re: Loop como usar - by PetterAdriano - 22.01.2015, 00:55
Re: Loop como usar - by Rodney Francalim - 22.01.2015, 01:06
Re: Loop como usar - by JonathanFeitosa - 22.01.2015, 01:14
Re: Loop como usar - by PetterAdriano - 22.01.2015, 01:16
Respuesta: Loop como usar - by DanDRT - 22.01.2015, 02:23
Re: Loop como usar - by Artista - 22.01.2015, 03:14

Forum Jump:


Users browsing this thread: 1 Guest(s)