Weapon Menu Sells double
#1

Title says it all, Example:
When I walk into the pickup id of WeaponMenu1 then it shows me a menu which works perfectly, when i purchase 1 weapon and it sells me 2 times. Instead of 1 time.
so
2x -$5000
2x Texture (you have bought this weapon blablabla,
2x 60 ammo
etc.

Script code:

Код:
	if(pickupid == WeaponMenu1)
        {
		ShowPlayerDialog(playerid, wmenu, DIALOG_STYLE_LIST, "Weapon Shop Menu","Pistols\nShotgun\nMicro SMGs\nAssault\nSniper\nArmour", "Open", "Close");
        }
Код:
	if(dialogid == wmenu)
	{
		if(response)
		{
	    	if(listitem == 0)
	    	{
	        	ShowPlayerDialog(playerid, wmenu+1, DIALOG_STYLE_LIST, "Pistols", "
...
...
...
...
...
...
...
...
...
...
...
...
	        		        		        		    , "Open", "Close");
			}
			return 1;
		}
	}
	}
Reply


Messages In This Thread
Weapon Menu Sells double - by Rolyy - 02.08.2010, 22:55

Forum Jump:


Users browsing this thread: 2 Guest(s)