03.03.2013, 16:11
pawn Код:
// Em OnplayerText
new Float:Pos[3],String[128],Nome[MAX_PLAYER_NAME];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
format(String, 128, "%s diz: %s", Nome,text);
for(new i; i != GetMaxPlayers(); i++){if(IsPlayerInRangeOfPoint(i, 20, Pos[0], Pos[1], Pos[2])){SendClientMessage(i, -1, String);}}