01.09.2010, 09:39
(
Последний раз редактировалось Fredden1993; 01.09.2010 в 09:50.
)
Quote:
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. |
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);