Need help :(
#3

Use foreach.
pawn Код:
#include <foreach>
pawn Код:
forward RandomZombie(MAX_PLAYERS);
pawn Код:
public OnGameModeInit()
{
    SetTimer(RandomZombie, 30000, false);
    return 1;
}
pawn Код:
public RandomZombie(playerid)
{
    new randomplayer = Iter_Random(Player);
    PlayerTeam[randomplayer] = 0;
    SendClientMessage(randomplayer,0x00FF22,"ZOMBIEKING : I have chosen you to be my zombie!");
    return 1;
}
Reply


Messages In This Thread
Need help :( - by Randomai - 24.02.2011, 18:10
Re: Need help :( - by Ironboy - 24.02.2011, 18:18
Re: Need help :( - by maramizo - 24.02.2011, 18:23
Re: Need help :( - by maramizo - 24.02.2011, 19:01
Re: Need help :( - by Randomai - 24.02.2011, 19:09
Re: Need help :( - by maramizo - 24.02.2011, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)