TEAM RADIO COMMAND
#8

pawn Код:
dcmd_r(playerid,params[])
{
    new string[128];
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pname,sizeof(pname));
    if(!strlen(params))
    {
        SendClientMessage(playerid,-1,"[USAGE] /r (Message)");
        return 1;
    }
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(gTeam[playerid] == TEAM_GANG)
            {
                  format(string,sizeof(string),"GANG Member%s(%d): %s",pname,playerid,params);
                  SendClientMessage(i,-1, string);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
TEAM RADIO COMMAND - by GGW - 16.08.2013, 15:47
Re: TEAM RADIO COMMAND - by DeathFire - 16.08.2013, 16:38
Re: TEAM RADIO COMMAND - by GGW - 16.08.2013, 17:20
Re: TEAM RADIO COMMAND - by Vanter - 16.08.2013, 17:45
Re: TEAM RADIO COMMAND - by GGW - 16.08.2013, 17:48
Re: TEAM RADIO COMMAND - by Vanter - 16.08.2013, 17:50
Re: TEAM RADIO COMMAND - by GGW - 16.08.2013, 17:59
Re: TEAM RADIO COMMAND - by Vanter - 16.08.2013, 18:13
Re: TEAM RADIO COMMAND - by ethhackerman - 16.08.2013, 19:55
Re: TEAM RADIO COMMAND - by cray1100 - 16.08.2013, 20:22

Forum Jump:


Users browsing this thread: 3 Guest(s)