In response to Netmanx
Don't use his piece. He has no idea what he's doing. Get rid of that for() line. Period.
In response to Spunky_Girl
    player
icon = 'player.dmi'
density = 0
Stat()
statpanel("Stats")
stat("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
stat(src.Name)
stat("Level: ",src.level)
stat("Experience: %",(src.exp/(level*100))*100)
stat("Health: %",(src.mhealth/health)*100)
stat("Energy: %",(src.menergy/energy)*100)
stat("Damage: ",src.damage)
stat("Strength: ",src.strength)
stat("Agility: ",src.agility)
stat("Dexterity: ",src.dexterity)
stat("Defense: ",src.defense)
stat("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")


Universia.dm:30:error: proc definition not allowed inside another proc

1 error
In response to Netmanx
It's called indentation.
In response to Spunky_Girl
Spunky_Girl wrote:
Don't use his piece. He has no idea what he's doing. Get rid of that for() line. Period.



I tested the code and it worked fine.
Explain why it wouldn't.
In response to Mysame
fixed my indentation and got it to run but now im getting

runtime error: Undefined operation: null / null
proc name: Stat (/mob/player/Stat)
source file: Universia.dm,33
usr: Netmanxxx (/mob/player)
src: Netmanxxx (/mob/player)
call stack:
Netmanxxx (/mob/player): Stat()
In response to Netmanx
Sometimes it looks like people aren't even trying to fix problems themselves and just post every error they get. The error here is self-explanatory. Look at line 33; you have 2 vars which you are dividing there, and both of them are uninitialized, hence they are [set to] null. That needs to be changed, and you'll want to do that anyway.
Page: 1 2