Money - AI and Player
this code is good for the AI and players use... it will show you setting up the money variable.. show you with + and - the money
[code]
my_money=0
[/code]
Simple ay? well it gets easier
[code]
//+ money
my_money+=argument0
[/code]
Below: for minusing money
[code]
my_money-=argument0
[/code]
[code]
my_money=0
[/code]
Simple ay? well it gets easier
[code]
//+ money
my_money+=argument0
[/code]
Below: for minusing money
[code]
my_money-=argument0
[/code]
Labels: Novice

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home