[FilterScript] [FS] ShopSystem - Fully menu-based Vehicle and Ammunation-style Weapons Shop
#1

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:
  • /c2 (2-door Cars)
  • /c4 (4-door Cars)
  • /c (Fast Cars)
  • /ov (Other Vehicles)
  • /bi (Bikes)
  • /bo (Boats)
  • /p (Planes)
  • /h (Helicopters)
  • /w (Heavy Weapons)
  • /w2 (Light Weapons)
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).
Reply
#2

Nice, but i dont love shopping

Van Haaren / [Klere]DS
Reply
#3

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

Maybe even set up my own Ammunation job,

Thanks alot
Reply
#4

sweet. very nice.
Reply
#5

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.
Reply
#6

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.
Reply
#7

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
Reply
#8

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
}
Reply
#9

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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)