Weapon dialog help
#10

Lol..

pawn Код:
if(dialogid == DIALOG_WEAPONS)
    {
        if(response)
        {
            if(listitem == 0)
            {
                GivePlayerWeapon(playerid, WEAPON_CHAINSAW, 1);
            }
            if(listitem == 1)
            {
                GivePlayerWeapon(playerid, WEAPON_GRENADE, 99999);
            }
            if(listitem == 2)
            {
                GivePlayerWeapon(playerid, WEAPON_TEARGAS, 99999);
            }
            if(listitem == 3)
            {
                GivePlayerWeapon(playerid, WEAPON_MOLTOV, 99999);
            }
            if(listitem == 4)
            {
                GivePlayerWeapon(playerid, WEAPON_COLT45, 99999);
            }
            if(listitem == 5)
            {
                GivePlayerWeapon(playerid, WEAPON_SILENCED, 99999);
            }
            if(listitem == 6)
            {
                GivePlayerWeapon(playerid, WEAPON_DEAGLE, 99999);
            }
            if(listitem == 7)
            {
                GivePlayerWeapon(playerid, WEAPON_SHOTGUN, 99999);
            }
            if(listitem == 8)
            {
                GivePlayerWeapon(playerid, WEAPON_SAWEDOFF, 99999);
            }
            if(listitem == 9)
            {
                GivePlayerWeapon(playerid, WEAPON_SHOTGSPA, 99999);
            }
            if(listitem == 10)
            {
                GivePlayerWeapon(playerid, WEAPON_UZI, 99999);
            }
            if(listitem == 11)
            {
                GivePlayerWeapon(playerid, WEAPON_MP5, 99999);
            }
            if(listitem == 12)
            {
                GivePlayerWeapon(playerid, WEAPON_AK47, 99999);
            }
            if(listitem == 13)
            {
                GivePlayerWeapon(playerid, WEAPON_M4, 99999);
            }
            if(listitem == 14)
            {
                GivePlayerWeapon(playerid, WEAPON_TEC9, 99999);
            }
            if(listitem == 15)
            {
                GivePlayerWeapon(playerid, WEAPON_RIFLE, 99999);
            }
            if(listitem == 16)
            {
                GivePlayerWeapon(playerid, WEAPON_SNIPER, 99999);
            }
            if(listitem == 17)
            {

            }
        }
        return 1;
    }
    /////////// >=            return 0;
}
Change return 0 to return 1;
Reply


Messages In This Thread
Weapon dialog help - by Ananisiki - 24.02.2013, 22:35
Respuesta: Weapon dialog help - by CrossOv3r - 24.02.2013, 23:58
Re: Weapon dialog help - by Ananisiki - 25.02.2013, 00:05
Re: Weapon dialog help - by Lemonaidz - 25.02.2013, 00:14
Respuesta: Weapon dialog help - by CrossOv3r - 25.02.2013, 00:29
Re: Weapon dialog help - by Ananisiki - 25.02.2013, 00:58
Respuesta: Re: Weapon dialog help - by CrossOv3r - 25.02.2013, 01:04
Re: Weapon dialog help - by Ananisiki - 25.02.2013, 01:15
Respuesta: Weapon dialog help - by CrossOv3r - 25.02.2013, 01:39
Re: Weapon dialog help - by MattSlater - 25.02.2013, 03:19

Forum Jump:


Users browsing this thread: 2 Guest(s)