25.03.2010, 19:04
Код:
//Top new Float:Pos[3]; //in command GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); //in public for(new i,g=GetMaxPlayers(); i < g; i ++) { if(IsPlayerConnected(i)) { if(IsPlayerInRangeOfPoint(i,/*range*/20.0,Pos[0],Pos[1],Pos[2])) // you will have to get x y and z by yourself... use GetPlayerPos { // your code to show the the textdraw, remeber that playerid is now i } } }