12.06.2014, 14:30
PHP код:
public onPlayerText(playerid, text[])
{
new Float:X,Y,Z;
GetPlayerPos(playerid,X,Y,Z);
new message[128];
format(message, sizeof(message), "%s says: %s", GetName(playerid), text);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i,30,X,Y,Z);
SendClientMessage(i,-1,message);
}
return 0;
}