[HELP] hitman agency fake badges
#7

You mean this.

pawn Code:
CMD:hbadge(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)//May require change to fit Hitman. CHECK FIRST!
    {
        if(IsPlayerConnected(playerid))
        {
            if(isnull(params)) {
                SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /hbadge [name]");
                SendClientMessageEx(playerid, COLOR_RED, "Available names: SASD, LSPD, NG, FBO, Off");
                return 1;
            }
            if(strcmp(params,"sasd",true) == 0)
            {
                SetPlayerColor(playerid, TEAM_SASD);
                SendClientMessageEx(playerid, COLOR_WHITE, "Badge on.");
            }
            else if(strcmp(params,"lspd",true) == 0)
            {
                SetPlayerColor(playerid,TEAM_BLUE_COLOR);
                SendClientMessageEx(playerid, COLOR_WHITE, "Badge on.");
            }
            else if(strcmp(params,"ng",true) == 0)
            {
                SetPlayerColor(playerid,COLOR_NG);
                SendClientMessageEx(playerid, COLOR_WHITE, "Badge on.");
            }
            else if(strcmp(params,"fbi",true) == 0)
            {
                SetPlayerColor(playerid,TEAM_FBI_COLOR);
                SendClientMessageEx(playerid, COLOR_WHITE, "Badge on.");
            }
            else if(strcmp(params,"off",true) == 0)
            {
                SetPlayerColor(playerid,TEAM_HIT_COLOR);
                SendClientMessageEx(playerid, COLOR_WHITE, "You're badge has been removed");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[HELP] hitman agency fake badges - by valspure - 09.05.2012, 22:46
Re: [HELP] hitman agency fake badges - by Ubuntu - 10.05.2012, 03:09
Re: [HELP] hitman agency fake badges - by valspure - 10.05.2012, 22:04
Re: [HELP] hitman agency fake badges - by dannyk0ed - 10.05.2012, 22:19
Re: [HELP] hitman agency fake badges - by dannyk0ed - 10.05.2012, 22:21
Re: [HELP] hitman agency fake badges - by milanosie - 10.05.2012, 22:26
Re: [HELP] hitman agency fake badges - by ToiletDuck - 11.05.2012, 01:15
Re: [HELP] hitman agency fake badges - by milanosie - 11.05.2012, 07:09
Re: [HELP] hitman agency fake badges - by JamieN - 15.06.2012, 19:21
Re: [HELP] hitman agency fake badges - by XtremeYlorD - 10.07.2012, 14:13

Forum Jump:


Users browsing this thread: 2 Guest(s)