[HELP] Radio question
#3

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
Forward and modify ProxDetector, make a ProxDetectorEx function out of It.

In the ProxDetectorEx function, make a check so It does not send the message to the same team, as they can see the radio anyways.
You got it wrong, this got nothing to do with the SendTeamMessage, it should be there but I want the ProxDetector to work like SendTeamMessage just that it will be shown to other players that are near me, and I should not be able to see it, only the SendTeamMessage, understand me now?

Example:

pawn Код:
format(string, sizeof(string), "** %s: %s **", sendername, result); //This two lines is for the Team to see and me
SendTeamMessage(2, COLOR_LIGHT_YELLOW, string);

format(string, sizeof(string), "(Radio) %s says: %s", sendername, result); //This line should be edited so only players around me can see what I'm tryping in the radio
ProxDetector(20.0, giveplayerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
Reply


Messages In This Thread
[HELP] Radio question - by Fredden1993 - 01.09.2010, 09:27
Re: [HELP] Radio question - by Mike Garber - 01.09.2010, 09:31
Re: [HELP] Radio question - by Fredden1993 - 01.09.2010, 09:39
Re: [HELP] Radio question - by Mike Garber - 01.09.2010, 09:50
Re: [HELP] Radio question - by Fredden1993 - 01.09.2010, 09:56

Forum Jump:


Users browsing this thread: 2 Guest(s)