[FilterScript] | WeaponShop v 1.0 ^^ | By Gertin ! | -.- | All In Dialog |
#1

.: 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 :
Код:
plugins sscanf
Or when you have linux server, then use :
Код:
plugins sscanf.so
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
Reply
#2

awesome 8/10 keep it up! and i need free mapper plz any one help me!
Reply
#3

Nice work+easy
Reply
#4

It's better when we can change the cost in a define ( example: )
pawn Код:
#define MOLOTOV_COST ( 1500 )
or the ammo
pawn Код:
#define MAX_AMMO ( 750 )
Anyway, nice script.
Reply
#5

No bad, i can say it's good job.
Reply
#6

Thanks all, and Basicz, oke i think about that
Reply
#7

and the ammo prize its looks preety
Reply
#8

When i buy the weapon, nothing happens? o_o
Reply
#9

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

Then its good, when you likes
Reply
#11

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?
Reply
#12

Nono, it takes only the price of bullets and Then you have more bullets
Reply
#13

good work
Reply
#14

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

There are every where that:

pawn Код:
if(Weaps > 250)
You shoult edit that to higher number. If you don't know how, then PM me, i make that for you
Reply
#16

New update is out: http://pastebin.com/QSnppzXR You can edit now the prices and MAX_Ammo
Reply
#17

Not Bad
Reply
#18

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

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/
Reply
#20

Nice.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)