SA-MP Forums Archive
[FilterScript] Ammu-Nation Buying Guns - 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] Ammu-Nation Buying Guns (/showthread.php?tid=364651)



Ammu-Nation Buying Guns - San1 - 31.07.2012

Introduction
Well I Decided After that Tuning Filterscript i Will make another for Players where they can Buy Guns At Any Ammu-Nation
You Will Need The Zcmd Include Which You Can Get from Here https://sampforum.blast.hk/showthread.php?tid=91354

This Is Made From Dialogs

Credits

Credits To San1 For Making it and Credits To Zeex For His Zcmd Include

Pastebin:http://pastebin.com/CgwgQnRd

Scroll Down For Screens





Re: Ammu-Nation Buying Guns - Alcatraz Gaming - 31.07.2012

Very nice filter-script, just try to add more weapons


Re: Ammu-Nation Buying Guns - XStormiest - 31.07.2012

nice gg

i will make a function for you to help you in script
pawn Код:
stock BuyWeapon(playerid,weaponid,money,ammo,color,string[])
       {
                   if(GetPlayerMoney(playerid) >= money)
                 {
                              GivePlayerMoney(playerid,-money);
                             SendClientMessage(playerid,color,string);
                             return GivePlayerWeapon(playerid,weaponid,ammo);
                  }
       }



Re: Ammu-Nation Buying Guns - Knight_Rider - 31.07.2012

Looks Good , Nice job 4/5


Re: Ammu-Nation Buying Guns - San1 - 31.07.2012

Thanks Guys