Forum

> > CS2D > Scripts > Gold and Sword System
Forums overviewCS2D overview Scripts overviewLog in to reply

English Gold and Sword System

5 replies
To the start Previous 1 Next To the start

old Gold and Sword System

NeptooN
User Off Offline

Quote
Hello all. =D

I make a script but I do not know how to make this script you will help me?
I want to there was written Gold and iron for example Gold 5 Iron 15. A menu Called Shop Player will Open on F2
And there will be a first button called swords if you press the button will open the menu and there will be A Golden sword and an Iron sword. The Golden sword is worth 10 gold and 15 iron. And iron sword is worth 20 iron.
F3-this menu in it will-button 1-gold-to obtain gold need to 10 iron if you click on first button,, and you have less than 10 iron the write not enough iron. 2 iron button press the button and spend one gold and you will get 10 iron. You can get the iron in another way to kill the player 1 time = 1 iron if you are dead you do not spend

And by the way, as soon as you bought a sword you have a sword /gfx/bewa/swords/goldsword.png. /gfx/bewa/swords / ironsword.png

Help me? and Sorry my english i'm russian
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview