Stat()
if(statpanel("Statics"))
stat("> Strength","[src.str.String()] [src.str.Procent()]")
stat("> Defence","[src.def.String()] [src.def.Procent()]")
stat("> Health","[src.hp.String()] [src.hp.Procent()]")
stat("> Experience","[src.exp.String()] [src.exp.Procent()]")
for(var/mob/M in oview(1))
if(statpanel("[M]"))
stat("> Strength","[M.str.String()] [M.str.Procent()]")
stat("> Defence","[M.def.String()] [M.def.Procent()]")
stat("> Health","[M.hp.String()] [M.hp.Procent()]")
stats.dm: 2: proc definition not allowed inside another proc
this is the coed i was useing