team help..
#3

can you fix this also then?
Код:
CMD:r(playerid, params[])
{
	new text[128],string[256];
    if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_GREY, "Syntax: /r [text]");
	foreach(Player, i)
     {
       if(gTeam[playerid] == TEAM_TERRORIST)
         {
             format(string, sizeof(string),"[Radio] %s: %s", PlayerName(playerid), text);
             SendClientMessage(i, TEAM_TERRORIST_COLOR, string);
         }
       if(gTeam[playerid] == TEAM_ARMY)
         {
             format(string, sizeof(string),"[Radio] %s: %s", PlayerName(playerid), text);
             SendClientMessage(i, TEAM_ARMY_COLOR, string);
         }
	 }
    return 1;
}
Reply


Messages In This Thread
team help.. - by ReD_HunTeR - 14.12.2013, 17:17
Re: team help.. - by Patrick - 14.12.2013, 17:36
Re: team help.. - by ReD_HunTeR - 14.12.2013, 17:52
Re: team help.. - by Patrick - 14.12.2013, 17:54
Re: team help.. - by ReD_HunTeR - 14.12.2013, 18:27

Forum Jump:


Users browsing this thread: 3 Guest(s)