Wanted LeveL?
#7

O.K...

But if i only want to have one of them like.

Код:
if(dialogid == DIALOG_BUYWEAPONS)
    {
        if(response) // If they clicked 'Select' or double-clicked a weapon
        {
            // Give them the weapon
            if(listitem == 0) // They selected the first item - Desert Eagle
            {
                GivePlayerWeapon(playerid, WEAPON_DEAGLE, 50); // Give them a desert eagle
            }
            if(listitem == 1) // They selected the second item - AK-47
            {
                GivePlayerWeapon(playerid, 22, 50); // Give them an AK-47
            }
            if(listitem == 2) // They selected the third item - Desert Eagle
            {
                GivePlayerWeapon(playerid, 31, 750); // Give them a Combat Shotgun
                if(GetPlayerWantedLevel(playerid) > 2)
            }
        }
        return 1;
    }
But it will not work for me i get a error:
PHP код:
C:\Users\Canip\Desktop\Samp server\filterscripts\Gates.pwn(467) : error 036: empty statement 
Reply


Messages In This Thread
Wanted LeveL? - by Lynet - 10.09.2013, 18:59
Re: Wanted LeveL? - by knackworst - 10.09.2013, 19:03
Re: Wanted LeveL? - by Konstantinos - 10.09.2013, 19:04
Respuesta: Wanted LeveL? - by Lynet - 10.09.2013, 19:09
Re: Wanted LeveL? - by PrinceKumar - 10.09.2013, 19:10
Re: Wanted LeveL? - by knackworst - 10.09.2013, 19:11
Re: Wanted LeveL? - by Lynet - 10.09.2013, 19:23
Re: Wanted LeveL? - by Konstantinos - 10.09.2013, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)