SA-MP Forums Archive
Is it possible to Edit [pGunM] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible to Edit [pGunM] (/showthread.php?tid=275544)



Is it possible to Edit [GunM] - ElieJabbour - 10.08.2011

I'm trying to Edit GunM, GunM is the Guns menu when you use /buygun, a menu pops out showin ya what you need to buy, I need to edit it but i can't find the .cfg or w/e it has to edit it, So is it possible to Edit it and remove some sort of weapons ?, Appreciating Fast help.


Re: Is it possible to Edit [pGunM] - Scenario - 10.08.2011

What the hell are you even talking about?


Re: Is it possible to Edit [pGunM] - PrawkC - 10.08.2011

Whats GunM


Re: Is it possible to Edit [pGunM] - ElieJabbour - 10.08.2011

Код:
if(strcmp(cmd, "/buygun", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	        if(IsAtGunShop(playerid))
	        {
				if(BizzInfo[HouseEntered[playerid]][bGunLicBiz] == 1)
				{
			        if(PlayerInfo[playerid][pGunLic] == 1)
			        {
			            TogglePlayerControllable(playerid,false);
			            ShowMenuForPlayer(GunM, playerid);
			        }
-.-. See the GunM in the End ? Yeah, it shows you the Gun list, i need to edit it


Re: Is it possible to Edit [pGunM] - Wright - 10.08.2011

Quote:
Originally Posted by PrawkC
Посмотреть сообщение
Whats GunM
It's a definition in his script.. what do you think it is? Gum?


Re: Is it possible to Edit [pGunM] - ElieJabbour - 10.08.2011

Quote:
Originally Posted by Wright
Посмотреть сообщение
It's a definition in his script.. what do you think it is? Gum?
Lol, So No one knows what it is.. How Epic


Re: Is it possible to Edit [pGunM] - dowster - 10.08.2011

you werent very specific, gunm is the name of a menu, you will need to find the area where all the menu rows are added in the script. try control + f and search for gunm


Re: Is it possible to Edit [pGunM] - leong124 - 10.08.2011

Use Ctrl+F to search
Код:
GunM = CreateMenu
or
Код:
AddMenuItem(GunM
You will find the items for your GTASA menu.

Edit:
Didn't see the above post before I post


Re: Is it possible to Edit [pGunM] - PrawkC - 10.08.2011

Quote:
Originally Posted by Wright
Посмотреть сообщение
It's a definition in his script.. what do you think it is? Gum?
Prick, there was no way of me knowing that prior to him editing his post.


Re: Is it possible to Edit [pGunM] - ElieJabbour - 10.08.2011

Alright, Thank you.