| WeaponShop v 1.1 is OUT ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 12.06.2011
.: WeaponShop FilterScript :.
.: About that :.
It is weapon shop, where you can buy weapons with that ammo, what you wan't . Max ammo is 250 . Have a sweet time !
.: Commands :.
/Shop --> That open the shop !
/AShop --> Its for Rcon admins, to open/close shop .
.: Screenshots :.
Its picture :
CLICK HERE
.: Bugs :.
Dont know bugs yet !
.: Download :.
V 1.1
PWN : Pastebin
PWN and AMX (With Includes) : SolidFiles[/I]
V 1.0
PWN : Pastebin
PWN and AMX (With Includes) : SolidFiles
.: Install :.
If you want to complite it, you need that :
Код:
#include <zcmd>
#include <dudb>
#include <sscanf2>
That you get there, where is writed "PWN and AMX" and you need to add that .
You need to copy all things to the folders, what there are . When you have copyed, you need to add in server.cfg :
Код:
filterscripts WeaponShop
And then in server.cfg for homehost :
Or when you have linux server, then use :
Then press "save" and thats work .
.: You can edit that :.
pawn Код:
#define MAX_AMMO 250 // Max ammo type. Change it, how much you wan't.
#define SNIPER_PRICE 50 // Sniper 1 ammo price
#define ROCKET_PRICE 10000 // Rocket 1 ammo price
#define MOLOTIV_PRICE 100 // Molotiv 1 ammo price
#define C_SHOTGUN_PRICE 50 // Combat Shotgun 1 ammo price
#define S_SHOTGUN_PRICE 50 // Sawn-Off Shotgun 1 ammo price
#define DESERT_PRICE 30 // Desert eagle 1 ammo price
#define GRANADE_PRICE 300 // Granade 1 ammo price
#define MP5_PRICE 10 // MP5 1 ammo price
.: Credits :.
Maked by Gertin
Thank you all and if you need help, then ask on that topic or send me message . If you see any bugs, tell that here
Sry for bad English
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Iphone1234g - 12.06.2011
awesome 8/10 keep it up! and i need free mapper plz any one help me!
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
BASITJALIL - 12.06.2011
Nice work+easy
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Basicz - 12.06.2011
It's better when we can change the cost in a define ( example: )
pawn Код:
#define MOLOTOV_COST ( 1500 )
or the ammo
Anyway, nice script.
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
juraska - 12.06.2011
No bad, i can say it's good job.
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 12.06.2011
Thanks all, and Basicz, oke i think about that
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Iphone1234g - 12.06.2011
and the ammo prize its looks preety
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
phiKun - 12.06.2011
When i buy the weapon, nothing happens? o_o
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 12.06.2011
mhh, you use home server ? I know, in home server its dont work for me too, but in linux work :S
Some1 know, how to fix ? Is that smthing about GM ?
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 12.06.2011
Then its good, when you likes
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
LeMoi - 05.03.2012
I tried and I couldn't roll it. Just a question, when you alread have some bullets, does it only takes the price of bullets or from both?
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 11.04.2012
Nono, it takes only the price of bullets

and Then you have more bullets
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Knight_Rider - 11.04.2012
good work
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Incog_Nito - 14.04.2012
How can we change the max ammo? I'm interested in this script but I don't want there to be a 250 limit on the ammo one can buy. I'd like it to be unlimited... or at least a much higher number.
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 14.04.2012
There are every where that:
You shoult edit that to higher number. If you don't know how, then PM me, i make that for you
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 15.04.2012
New update is out:
http://pastebin.com/QSnppzXR 
You can edit now the prices and MAX_Ammo
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Awankz - 15.04.2012
Not Bad
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
DerViL - 15.04.2012
I have a problem...
http://www.bildites.lv/images/4xi8byfa14kdxmabdm0.png
How can i fix it??
And yeah i have this warning when i compile..
C:\Documents and Settings\User\Desktop\gm-gangwar\filterscripts\WeaponShop.pwn(345) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
Gertin - 15.04.2012
Woops, its my problem. Here it's fixed :
http://pastebin.com/QSnppzXR
But maybe you have some old include, you can update them here:
http://www.solidfiles.com/d/55e9056677/
Re: | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog | -
[NVC]Eduardo - 15.04.2012
Nice.