KillAll problem....
#6

pawn Код:
forward MapChange();
public MapChange()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        new rand = random(3);
        switch (rand)
        {
            case 0:MArea69 = 1,MBuildyard = 0,MHarbour = 0,SendClientMessageToAll(COLOR_ORANGE,"Map Has Changed to Area69...");
            case 1:MBuildyard = 1,MArea69 = 0,MHarbour = 0,SendClientMessageToAll(COLOR_ORANGE,"Map Has Changed to BuildYard...");
            case 2:MHarbour = 1,MArea69 = 0,MBuildyard = 0,SendClientMessageToAll(COLOR_ORANGE,"Map Has Changed to Harbour...");
        }
        SetPlayerScore(i,0);
        SetPlayerHealth(i,0.0);
        //return 1; <---This is not needed and stops i from counting up if called...
    }
    return 1;
}
Reply


Messages In This Thread
KillAll problem.... - by [MNC]Azz - 29.11.2010, 16:11
Re: KillAll problem.... - by NewYorkRP - 29.11.2010, 17:04
Re: KillAll problem.... - by [MNC]Azz - 29.11.2010, 17:24
Re: KillAll problem.... - by [MNC]Azz - 29.11.2010, 18:22
Re: KillAll problem.... - by MadeMan - 29.11.2010, 18:33
Re: KillAll problem.... - by SuperS82 - 29.11.2010, 18:39
Re: KillAll problem.... - by [MNC]Azz - 01.12.2010, 11:09

Forum Jump:


Users browsing this thread: 1 Guest(s)