Random Player
#2

You have to create a loop and check if they are connected. By the way you're doing it right now it can select 155 for example, when there are only 20 people online.

The loop:
pawn Код:
for(new i=0;i<MAX_PLAYERS;i++)
{
//stuff here
}
Reply


Messages In This Thread
Random Player - by Trooper[Y] - 03.05.2009, 18:32
Re: Random Player - by HB - 03.05.2009, 18:34
Re: Random Player - by Trooper[Y] - 03.05.2009, 18:41
Re: Random Player - by HB - 03.05.2009, 18:44
Re: Random Player - by Lewwy - 03.05.2009, 18:52
Re: Random Player - by Trooper[Y] - 03.05.2009, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)