SA-MP Forums Archive
[FilterScript] [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - 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] [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop (/showthread.php?tid=16155)



[FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Darkimmortal - 03.11.2007

What is this FilterScript?

It is a menu-based shop with every weapon (apart from some melee and unsynced weapons) and vehicle (well not all the vehicles - just the useful ones)

How does it work?

Loads of menus! (Well around 30 actually)

How can I access it in-game?

/shop, JUMP+SHOOT or one of the subcommands:
What do you mean by "Ammunation-style"?

Each weapon has a submenu containing a menuitem to buy it and a menuitem to return to the previous menu. Basically this means you can continually buy more of a weapon without having to continually scroll down through the menu before buying it each time.

What happens when you buy a vehicle?

It just appears at your location using CreateVehicle and you are placed inside it.

How can I change the prices and/or items?

Just change them in the AddMenuItems (frontend) and switches (backend).

Is this just some crappy beta version and/or does it crash?

I've only put it through initial testing but I think I've fixed all the major bugs. The only likely bugs are typos in the pricing and names of vehicles.

Where can I download?

Via My website
Via Rapidshare
Via [TX]Winker2k6's Mirror

(all mirrors have the same file, which contains both the .amx and .pwn).


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Maikel - 03.11.2007

Nice, but i dont love shopping

Van Haaren / [Klere]DS


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - nate660 - 03.11.2007

Great I can use this For one of my Car Dealerships in my Server,

Maybe even set up my own Ammunation job,

Thanks alot


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Alejandro - 03.11.2007

sweet. very nice.


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Force47 - 05.11.2007

Tell please how to make so that it is the menu appeared only in the certain place, well for example as in ammunation.
Explain to the fool . What code should be inserted and into what place. In advance thanks.


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Darkimmortal - 05.11.2007

I suppose all you need is to add a few GetPlayerPos() and if statements to check that the player is in ammunation to all the dcmd functions.

Hopefully someone will explain it in more detail - I don't have time now.


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - UnknownCoder - 07.11.2007

DarkImmortal I made a shop2 for my server with only cars and I want to put in the car lot in LV and allow people to buy them but only in a certain area.

same thing for guns and ammonation, I can edit it to only have certain things but how do i make it only function in certain stores/places


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Darkimmortal - 07.11.2007

I can't give you the exact way to do it (don't have time right now) but here's a rough idea of an if statement you could use (you'll need to add the coords yourself).

pawn Код:
New Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
if(X> (x1 coord of location) && X< (x2 coord of location) && Y> (y1 coord of location) && Y< (y2 coord of location){
  //protected shop functions go here
}



Shop Is Bugged - darkmage - 10.11.2007

Hello, when I buy any vehicle through the shop, and blows up after taking a lot of damage, it crashes the whole game (gta_sa.exe).


This seems really odd....... Could anyone test if this happens to you? Thanks.


Re: [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop - Darkimmortal - 10.11.2007

Yeah there was a bug something like that, but the version I have now (with lots of bugs like that fixed) has loads of stuff specific to my gamemode.

I'll try and take some of it out and upload a new version soon.