Stat()
..()
statpanel("Statistics",main statistics)
stat("Name")
stat("Health","[health]/[Maxhealth]")
stat("Experience","[exp]/[maxexp]")
stat("Level",Level)
stat("Strength",src.strength)
stat("Defense",src.defense)
statpanel("inventory")
statpanel("Weapon Stats")
stat("[src.name]")
stat("--------Self--------")
stat("Armor:", "[src.armor]/[src.maxarmor]")
stat("dollars:", "[src.dollars]")
stat("------Weapons------")
stat("Weapon Equipped", "[src.weapon]")
stat("Secondary Weapon:", "[src.secondaryweapon]")
stat("--------Ammo--------")
stat("Primary Clip:","[src.clip]/[src.maxclip]")
stat("Secondary Clip:","[src.oclip]/[src.maxoclip]")
stat("Ammo:", "[src.ammotype]/[src.maxammotype]")
stat("M203/GP25:", "[src.mgpammo]/[src.maxmgpammo]")
Char_creation.dm:10:error: proc definition not allowed inside another proc
Why do I get this error and how can I fix it?
Don't indent it.