20.02.2016, 11:16
https://sampforum.blast.hk/showthread.php?tid=279575
Otherwise you can do this:
Otherwise you can do this:
pawn Код:
public OnPlayerText(playerid, colore, text[])
{
GetPlayerPos(playerid,XPos,YPos,ZPos);
for(new i=0;i<MAX_PLAYERS,i++)
{
if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i, RANGEYOUCHOOSE, XPos, YPos, ZPos) && GetPlayerVirtualWorld(i)==GetPlayerVirtualWorld(playerid)) SendPlayerMessageToPlayer(i, playerid, text);
}
return 0;
}