[Ajuda] Loop
#3

pawn Код:
CMD:kit(playerid) {

    static i;
    for(i = GetMaxPlayers() - 1; i != -1; --i) {
   
        if ( IsPlayerConnected(i)) {
       
            SetPlayerArmour(i, 100.00);
            SetPlayerHealth(i, 100.00);
            GivePlayerWeapon(i, 35, 100);
            GivePlayerWeapon(i, 17, 100);
            GivePlayerWeapon(i, 31, 9000);
            GameTextForPlayer(i, "Kit", 5000, 1);
        }
    }
    return true;
}
Reply


Messages In This Thread
Loop - by DarckWilly - 10.06.2013, 22:15
Re: Loop - by Delete_ - 10.06.2013, 22:17
Re: Loop - by Gii - 10.06.2013, 22:18
Re: Loop - by DarckWilly - 10.06.2013, 22:21
Re: Loop - by Falcon. - 10.06.2013, 22:28
Re: Loop - by DarckWilly - 10.06.2013, 23:53

Forum Jump:


Users browsing this thread: 1 Guest(s)