Forum Jump :

Author Message

Posts: 1

Level: Member

Country: us
In-game name: koalasalad

#100583 Posted at 2011-03-21 23:13        
I have a simple buy weapon action using the score.
player2 addScore -100;
player2 addWeapon "M9";
player2 groupChat "You bought a M9 for $100";

If the player has less then 100 in his score I would like to have the action be disabled and a message appear saying "you dont have enough money" or something like that but unfortunately I am pretty new to scripting and i dont know how to do that.


Added 21 hours 1 minute later:

nvm i was able to figure it out

This post was edited by koalasalad (2011-03-22 20:15, ago)

Tags: Money, Score