ID:161398
 
How do I make it so that when i become a different race i gain more stats in the stat panel.

Suppose I had this:
mob/Stat()
if(usr.logged == 1)
statpanel("Stats")
stat("[usr]")


And i wanted to gain this:

        stat("Battle Points","[points]")


How do i make it go on to the stat panel once i become a different race.
if(usr.race == "racenamehere")
//do stat() stuff
In response to Eternal Desire
KK, Thanks Alot!
In response to Eternal Desire
Generally, you should be using src instead of usr in Stat(). usr is the mob of the player looking at the statpanel, and src is the mob the statpanel belongs to. Obviously, they'll USUALLY be the same... but src is correcter.