Tessék:
public OnPlayerText(playerid,text[])
{
new Float:X,Float:Y,Float:Z,string[128],name[MAX_PLAYER_NAME];
GetPlayerPos(playerid,X,Y,Z);
GetPlayerName(playerid,name,sizeof(name));
for(new i;i<MAX_PLAYERS;i++)
{
if(IsPlayerInRangeOfPoint(i,6.0,X,Y,Z)
{
format(string,sizeof(string),\"%s mondja: %s\",name,text);
SetPlayerChatBubble(playerid, string, 0xFF0000FF, 6.0, 10000);
SendClientMessage(i,-1,string);
}
}
return 0;
}