new Random=random(Max_Players);if(IsPlayerConnected(Random)){GetPlayerPos(Random,X,Y,Z);// Do Whatever Code Here}
GetPlayerPos(playerid,X,Y,Z);