26.03.2010, 09:32
Quote:
Originally Posted by Jefff
Код:
//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 } } } |
Will try this when im at home.