public OnPlayerText(playerid, text[])
{
new Float:Pos[3],str[128]; GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
for(new i; i < GetMaxPlayers(); i++)
{
if(!IsPlayerConnected(i) || !IsPlayerInRangeOfPoint(i,10.0,Pos[0],Pos[1],Pos[2])) { continue; }
format(str,sizeof(str),\"%s: %s\",Nev(playerid),text);
SendClientMessage(i,0xFFFFFFFF,str);
}
return 0;
}