SA-MP Forums Archive
hide weapon menu - 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)
+--- Thread: hide weapon menu (/showthread.php?tid=297416)



hide weapon menu - Unknown123 - 15.11.2011

is there a way to hide the ammunation menu? like if i show the menu to buy weapons, then i use /hide to hide the ammunation menu.


Re: hide weapon menu - TheArcher - 15.11.2011

I don't think so. There's also some interiors that doesn't have that menu. Just change the automatic interiors with scripted from you. Isn't hard.


Re: hide weapon menu - Unknown123 - 15.11.2011

i know its easy, but it will be more easy if there was a way to do what i explained :P that woulf fix a bug on my script.


Re: hide weapon menu - =WoR=G4M3Ov3r - 15.11.2011

What do you mean ?, in samp you create the menu yourself..


Re: hide weapon menu - Unknown123 - 16.11.2011

Quote:
Originally Posted by =WoR=G4M3Ov3r
Посмотреть сообщение
What do you mean ?, in samp you create the menu yourself..
you can still use the ammunation weapon menu too...

i want to know if there is a way to close the orginal ammunation-weapon menu with a command



Re: hide weapon menu - MP2 - 16.11.2011

Use SetPlayerShopName. Set a timer of around 2 seconds under OnPlayerChangeInterior if the newinteriorid is one of the ammunition interiors.


Re: hide weapon menu - Unknown123 - 16.11.2011

no, um i mean like. if you got the ammunation menu open, like you select a gun to buy. i want a cmd to close that ammounation menu. instead of press "enter" (in mycase to close menus)