06.10.2013, 12:45
Код:
#Define GivePlayerMoney GivePlayerCash stock ProxDetector(Float:radi, playerid, string[],color) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); for(new player;player<MAX_PLAYERS;player++) { if(!IsPlayerConnected(playerid))continue; if(IsPlayerInRangeOfPoint(playerid,radi,x,y,z))SendClientMessage(player,color,string); } }