20.05.2013, 21:41
Hi,
I'm trying to make a similar radio command found on Los Santos Role Play. When the player performs a radio message, he shall only see the SendFactionMessage text. But I want players near him to be able to see what he just said in his radio using ProxDetector. I know how to make this, but the problem is that the player sending the message see both the SendFactionMessage and ProxDetector. He should ONLY see SendFactionMessage.
Or, if you got another solution to this, shoot.
I'm trying to make a similar radio command found on Los Santos Role Play. When the player performs a radio message, he shall only see the SendFactionMessage text. But I want players near him to be able to see what he just said in his radio using ProxDetector. I know how to make this, but the problem is that the player sending the message see both the SendFactionMessage and ProxDetector. He should ONLY see SendFactionMessage.
pawn Код:
format(string, sizeof(string), "** %s: %s", sendername, result);
SendFactionMessage(5, COLOR_RADIO, string);
format(string, sizeof(string), "* %s %s", sendername, result);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);