Revive(mob in world)
set category="Admin"
if (GMLockCheck())
usr<<"<font color=red>Your Admin Powers Are Locked."
return //This is the line with the error
if (src.dead == 0)
src<<"<font color =gray>You can't revive somebody that isnt dead."
return
else
var/talk = input("<font color = White>[usr.name] wants to revive you, do you want to be revived [src.name]?</font>") in list ("I want to be revived","I don't want to be revived")
if("I want to be revived")
src.powerlevel = src.powerlevel_max
src.overlays -= src.halo
src.overlays -= src.halo
src.overlays -= src.halo
src.overlays -= halo
src.overlays -= halo
src.overlays -= halo
src.loc = locate(77,78,1)
src.safe = 0
src.dead = 0
if("I don't want to be revived")
src<<"<font color =gray> [src.name] did not want to be revived."
return
Problem description:
i get this error:
System\Admin\AJX's Admin Code.dm:906:error::missing expression
for the line that i specified in the code