08.02.2013, 01:59
PHP код:
new Japa3D[128],Name[24],Float:Flut[3];
GetPlayerPos(playerid,Flut[0],Flut[1],Flut[2]);
GetPlayerName(playerid,Name,sizeof(Name));
format(Japa3D,sizeof(Japa3D),"%s {FF00FF}[ID {00FF00}%i{FF00FF}] {00FF00}diz: {FFFFFF}%s",Name,playerid,text);
for(new strong; strong != MAX_PLAYERS; strong++)
if(IsPlayerInRangeOfPoint(strong,75.0,Flut[0],Flut[1],Flut[2]))
SendClientMessage(strong,GetPlayerColor(playerid), Japa3D);