SA-MP Forums Archive
[FilterScript] Simple Gun Menu (Based on Garsino's Car 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Gun Menu (Based on Garsino's Car Menu) (/showthread.php?tid=325788)



Simple Gun Menu (Based on Garsino's Car Menu) - Plaki - 14.03.2012

Hello,

So firstly, I have to say that's it's not really "my" script because it's mainly comes from another script (Garsino's Car Menu script), I modified it a bit. The original script was a script to spawns any vehicules. (If you want more informations about it, you should heck his *******'s page, because he is really nice in my opinion. https://www.*******.com/user/garsino)

Here is some screenshots, so yes, it's exactly the same menu, but without car, and this time, with weapons.
https://imageshack.us/g/818/samp061hz.png/

So it's not really a uber hard script, I just use this:
GivePlayerWeapon((playerid, weaponid, ammo) // if you want more informations about it, check the wiki,https://sampwiki.blast.hk/wiki/GivePlayerWeapon

Example: GivePlayerWeapon(playerid, 34, 500); // Sniper rifle with 500 munitions



Here is the code:
https://pastebin.com/raw.php?i=4VjPRKHq

I think that it's easy to edit this script, so, enjoy it.

PS: I don't really consider this script as "my" script due to the fact that I only modified the Garsino's script, but I thought that it would be nice to post it.

Take care, Maeva Plaki.


Re: Simple Gun Menu (Based on Garsino's Car Menu) - TRIPLE-xXx-GAMEING - 15.03.2012

hmmmmm nice try


Re: Simple Gun Menu (Based on Garsino's Car Menu) - Plaki - 15.03.2012

Oh, btw, you can try this script on my server if you want, here is the ip: 87.117.194.62:7777 (Join and type /gun, you will be able to see the gun menu)


Re: Simple Gun Menu (Based on Garsino's Car Menu) - StrondA_ - 15.03.2012

4fun great for servers, it was not so hard to be created!
Congratulations, sorry bad english!



Re: Simple Gun Menu (Based on Garsino's Car Menu) - NeymarJr - 01.06.2012

Why is it that on every filterscript where i have dialog, i click select and nothing happens... :\


Re: Simple Gun Menu (Based on Garsino's Car Menu) - NeymarJr - 03.06.2012

Quote:
Originally Posted by Marsigne
View Post
That is because there another filterscript or the gamemode that in OnDialogResponse, it ends with "return 1;", you can solve this by going into all your filterscripts and end the return 1; into return 0; on OnDialogResponse.
oh ok Thanks