random ?? help
#2

Use random function.

pawn Код:
new id;
id = random(MAX_PLAYERS);
if(IsPlayerConnected(id))
{
    // Code.
}
Reply


Messages In This Thread
random ?? help - by Clarck - 08.03.2015, 12:11
Re: random ?? help - by HY - 08.03.2015, 12:32
Re: random ?? help - by Clarck - 09.03.2015, 13:44
AW: Re: random ?? help - by Kaliber - 09.03.2015, 13:54
Re: random ?? help - by Clarck - 09.03.2015, 13:57
Re: random ?? help - by CalvinC - 09.03.2015, 14:49
Re: random ?? help - by Clarck - 09.03.2015, 16:30

Forum Jump:


Users browsing this thread: 2 Guest(s)