I can do whisper, for do you will need ProxDetector, you can look up a tutorial on that.
pawn Код:
cmd:w(playerid, params[])
{
new name[24],name2[24], Float:X, Float:Y, Float:Z, ID, string[127];
if(sscanf(params, "i", ID)) return SendClientMessage(playerid, -1, "CMD:/w [PlayerID]");
GetPlayerPos(playerid, X, Y, Z);
GetPlayerName(playerid, name, sizeof(name));
if(!IsPlayerInRangeOfPoint(ID, 3.0, X, Y, Z)) return SendClientMessage(playerid, -1, "This player is not close enough to you!");
format(string, sizeof(string), "%s whispers: %s", name, params);
SendClientMessage(ID, -1, string);
GetPlayerName(ID, name2, sizeof(name2));
format(string, sizeof(string), "Whisper to %s: %s", name2, params);
SendClientMessage(playerid, -1, string);
return 1;
}