ID:149294
 
I set this to add text to your stat panel that shows your level of skating like novice and such, but when i reach over 30 points its invisable, i want this to show im Novice at the start of the game then reach other levels. -_- not working!!

mob/var // Vars.
balance = 1
maxbalance = 1
score = 0
air = 0
speed = "Normal"
skill = ""
muted
mob
Stat() // Statpanel.
statpanel("Statistics")
stat("Balance:","[balance] / [maxbalance]")
stat("Score:","[score]")
stat("Speed:","[speed]")
stat("Air:","[air]")
stat("Skill:","[skill]")
mob/proc/scorecheck()
if(score<=30)
usr.skill+="Novice"
usr<<"You become better"
if(score<=60)
usr.skill+="Intermediate"
usr<<"You become wildly better"
if(score<=90)
usr.skill+="Advanced"
usr<<"You become really better"
if(score<=120)
usr.skill+="Master"
usr<<"You become a freakin MASTER!!!!!!!!"
if(score<=150)
usr.skill+="God-Like"
usr<<"You become way freakin better"
I'm not going to help you because you're blantantly ignoring forum rules to not use bad language.
Try cleaning it up before you post it.
In response to Foomer
its a freaking code for crying out loud, if your not gonna help dont reply then, simple. If you got a problem with the code, you clean it your self
Branks wrote:
I set this to add text to your stat panel that shows your level of skating like novice and such, but when i reach over 30 points its invisable, i want this to show im Novice at the start of the game then reach other levels. -_- not working!!

mob/proc/scorecheck()
if(score<=30)
usr.skill="Novice"
usr<<"You become better"
if(score<=60)
usr.skill="Intermediate"
usr<<"You become wildly better"
if(score<=90)
usr.skill="Advanced"
usr<<"You become really better"
if(score<=120)
usr.skill="Master"
usr<<"You become a freakin MASTER!!!!!!!!"
if(score<=150)
usr.skill="God-Like"
usr<<"You become way freakin better"


Try What I Edited, In Other Words, Take Out The + Signs.





Shun Di, Out
In response to Shun Di
Did not work at all