[FilterScript] WeaponShop - Automatic/Custom prices || DIALOG
#1

[Information]
This filterscript allows the user to buy weapons, Armour and a parachute. The administrator has the ability to view the prices for each weapon sold. When you change the value, it automatically updates in the dialog.

[ScreenShots]
http://i.imgur.com/QjAyyEY.jpg
This screenshot shows the main screen for all the buy stuff!

http://i.imgur.com/v64uJ3H.jpg
This is one of the dialogs for weapons.

http://i.imgur.com/i2rGjfG.png
This screenshot shows how to set the weapon prices.


[Features/HowTo]
Use /buy or /shop to open the shop dialog.
Inside of the script near the top, there will be a list of weapon names with numbers next to them. This is the weapon price.

Changing the weapon price, will set the dialog prices too, so that is automatic.


[Terms]
You may:
Use this in your server
Take the whole script and put it inside of your gamemode(LEAVE CREDIT)

You may not:
Take credit for my work
Take parts of my code as yours

[Download]
Pastebin: http://pastebin.com/P2XQpPYx
Download: https://www.sendspace.com/file/vbom8g
This is not my most complex script, but it does what it's supposed to.
You will want to remove the GiveMoney command, as that was for testing
Reply
#2

Interesting
Reply
#3

Nice! Do a new Version, use 'Enumerator' for the prices, and Make them Dynamic. Wouldn't that be Great?
Anyhow, it's cool!
Reply
#4

Quote:
Originally Posted by dv20
View Post
Interesting
Thank you.

Quote:
Originally Posted by JonathanW
View Post
Nice! Do a new Version, use 'Enumerator' for the prices, and Make them Dynamic. Wouldn't that be Great?
Anyhow, it's cool!
How do you mean, Enumerator? What would that do?

Thank you for your kind words.
Reply
#5

Thanks for this , Good Job .
Reply
#6

Why you created the prices of weapons by ''new'', not by macro?
Reply
#7

few weaps are missing but
great work..
Reply
#8

Instead of changing the script, you should create a command where you can change the prices in-game, obviously this isn't a saving weapon system, so it'd be dynamic either way.

Like this, this will update the dialogs in-game with the price.
http://pastebin.com/uW502hzX
Reply
#9

Quote:
Originally Posted by Blunt
View Post
Instead of changing the script, you should create a command where you can change the prices in-game, obviously this isn't a saving weapon system, so it'd be dynamic either way.

Like this, this will update the dialogs in-game with the price.
http://pastebin.com/uW502hzX
Nice idea, but you could just change the price in the script and then reload the script as it doesn't use that much processing power.

This is mainly because I'm lazy though
Reply
#10

Quote:
Originally Posted by PMH
View Post
few weaps are missing but
great work..
Yes, a lot of weapons are missing. I just included the key weapons. I will update this soon with more weapons.

Also, I can't quote everyone but thank you for the kind words, I'm working on something a bit more advanced at the moment.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)