/buygun? - 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: /buygun? (
/showthread.php?tid=125381)
/buygun? -
-Rebel Son- - 03.02.2010
i need to make a command that you do /buygun and you can buy a gun from 10 guns
i want it to do /buy gun and display a usage message then if they type like /buy /gun\ it gives them gun and removes money from them.
Re: /buygun? -
aNdReSkKkK - 03.02.2010
in your filterscripts folder there should be a file called fsdebug.pwn, have a look to it, it has a command /weapon wname
u could learn from that to make yours
Re: /buygun? -
philmckrakin - 03.02.2010
if you dont mind it bringing up a dialog menu when they type the command you could try out my weapon shop FS here:
http://forum.sa-mp.com/index.php?top...6142#msg876142
maybe it will help maybe not
also if you look at the script in that FS you could easily learn to make it into commands
happy scripting