10.10.2010, 11:09
Quote:
On this forum I'm sure there's a RandomID() function.
I'll try rip up a bit of code. pawn Код:
|
pawn Код:
new r = -1;
while(r == -1)
{
r = random(MAX_PLAYERS);
if(!IsPlayerConnected(r)) r = -1;
}
On this forum I'm sure there's a RandomID() function.
I'll try rip up a bit of code. pawn Код:
|
new r = -1;
while(r == -1)
{
r = random(MAX_PLAYERS);
if(!IsPlayerConnected(r)) r = -1;
}