• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

I need this one system

Status
Not open for further replies.
Level 4
Joined
Jul 22, 2010
Messages
63
I need a system to. when a player write, for exemple:
-a 25
or
-s 25
or
-i 25
it checks if the player has 25 LUMBER, then remove 25 lumber from the player, and add agility (a) strenght (s) intelligence (i) to the unit.
Each player has only unit, since its a RPG game
The player may write any number between 1-9999 to add the stat, and when he does it and doesnt have the following lumber, display a message saying it.
 
Status
Not open for further replies.
Top