ID:150056
 
Ok i want to make it so when someone wins in the arena they get 1 point and it sends it to the rateing thing.


mob/proc/ArenaDeathCheck()
if(ArenaHP <= 0)
world << "ARENA [usr] has defeted [src]!!"
usr.exp +=50
usr.verbs -=/mob/proc/attack2
usr.verbs += /mob/verb/Attack
src.verbs += /mob/verb/Attack
usr.wealth+=src.wealth
usr << "You got [src.wealth] from [src]'s body!"
src.wealth = 0
usr.loc = locate(16,1,1)
src.overlays+= 'halo.dmi'
src.verbs -= /mob/proc/attack2
src.loc = locate(4,4,5)
report_scores() // calls the report score procedure


proc/report_scores()
var/scores[0]


scores["[src]"] = 0
scores["[usr]"] = 1

byondhub.ReportScores(scores)






when i do that i get this error
error:byondhub.ReportScores:bad var


.... no im not makeing a dbz game.