05.11.2009, 14:55
Hi.
Is there any way to get a random ID which is connected?
Thanks.
Is there any way to get a random ID which is connected?
Thanks.
-This will kick RANDOM CONNECTED playa |
Originally Posted by Harry_Gaill [adream-rp.com
]
Quote:
|
new playa=random(MAX_PLAYERS);
if(IsPlayerConnected(playa)==0)
{
while(IsPlayerConnected(playa)==0)
{
playa=random(MAX_PLAYERS);
}
}
if(IsPlayerConnected(playa)) Kick(playa);
Originally Posted by Don Correlli
Quote:
|