[Ajuda] /pegararmas
#4

pawn Код:
if(strcmp(cmd, "/pegararmas", true) == 0)
    {
        if(JFS[playerid] == 1) return SendClientMessage(playerid, Cor, " Vocк Nгo Pode Usar Estй Comando Denovo  :C");
        if(ReduceTime[playerid] == 1)
        {
                   SendClientMessage(playerid, COLOR_GREY, " Saia e entre novamente na HQ para pegar armas, mas nao abuse!");
                   return 1;
        }
        else if(PlayerInfo[playerid][pMember] == 16 && PlayerToPoint(8.0,playerid,1269.2566,-782.9906,1084.0149))
        {
            GetPlayerName(playerid,sendername,256);
            ReduceTime[playerid] = 1;
            format(string, 256, "%s Pegou armas",sendername);
            ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            GivePlayerWeapon(playerid, 24, 10);
            GivePlayerWeapon(playerid, 29, 500);
            GivePlayerWeapon(playerid, 30, 250);
            SetTimerEx("ReduceTimer", 10000, false, "i", playerid);
        }
        else if(PlayerInfo[playerid][pMember] == 17 && PlayerToPoint(8.0,playerid,-2166.3108,645.9502,1052.3750))
        {
            GetPlayerName(playerid,sendername,256);
            ReduceTime[playerid] = 1;
            format(string, 256, "%s Pegou armas",sendername);
            ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            GivePlayerWeapon(playerid, 24, 10);
            GivePlayerWeapon(playerid, 29, 500);
            GivePlayerWeapon(playerid, 30, 250);
            SetTimerEx("ReduceTimer", 10000, false, "i", playerid);
        }
        else if(PlayerInfo[playerid][pMember] == 8 && PlayerToPoint(8.0,playerid,1714.2894,-1663.4102,20.2280) || PlayerToPoint(8.0,playerid,449.0826,-80.9784,999.5547))
        {
            GetPlayerName(playerid,sendername,256);
            ReduceTime[playerid] = 1;
            format(string, 256, "%s Pegou armas",sendername);
            ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            GivePlayerWeapon(playerid, 4, 1);
            GivePlayerWeapon(playerid, 24, 100);
            GivePlayerWeapon(playerid, 34, 150);
            GivePlayerWeapon(playerid, 30, 200);
            GivePlayerWeapon(playerid, 31, 200);
            GivePlayerWeapon(playerid, 29, 500);
            GivePlayerWeapon(playerid, 25, 150);
            SetTimerEx("ReduceTimer", 10000, false, "i", playerid);
        }
        JFS[playerid] ++;
        return 1;
    }
Reply


Messages In This Thread
[Ajuda] /pegararmas - by Felipe_Wesker - 06.05.2011, 17:20
Re: /pegararmas, ajuda - by JonathanFeitosa - 06.05.2011, 17:26
Re: /pegararmas, ajuda - by Felipe_Wesker - 06.05.2011, 18:08
Re: /pegararmas, ajuda - by JonathanFeitosa - 06.05.2011, 18:45
Re: /pegararmas, ajuda - by Shadoww5 - 06.05.2011, 18:55
Re: /pegararmas, ajuda - by Felipe_Wesker - 06.05.2011, 20:17
Re: [Ajuda] /pegararmas - by Felipe_Wesker - 07.05.2011, 21:34
Re: [Ajuda] /pegararmas - by JonathanFeitosa - 07.05.2011, 21:39
Re: [Ajuda] /pegararmas - by Felipe_Wesker - 08.05.2011, 15:13
Re: [Ajuda] /pegararmas - by Transferencia - 08.05.2011, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)