00:00
00:00
View Profile spurs4eva

Male

Joined on 9/17/04

Level:
6
Exp Points:
390 / 400
Exp Rank:
> 100,000
Vote Power:
4.80 votes
Rank:
Civilian
Global Rank:
93,330
Blams:
30
Saves:
27
B/P Bonus:
0%
Whistle:
Normal

Help with variable?

Posted by spurs4eva - May 19th, 2008


I think it variable help i need... I am trying to set a limit the the health in the game i am currently making. its a dynamic text box health rather than a health bar and i dont want the health to exceed 100. Any help?

safe


Comments

it should be something like (Please note my programming not good)

if(variable>=100){
...
else{
...

I'm not too good at subtraction programming. This is the best I can do.