SphereCommunity
error - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: error (/Thread-error--3822)



error - Kapa - 10-19-2014 07:38 AM

hi, why i am getting this error?

22:18:ERROR:(house_system.scp,3558)Can't resolve <act.owner>
22:18:ERROR:(house_system.scp,3558)Undefined symbol ''






ON=@GetHit
ref1=<region.tag0.sign>
ref2=<src.region.tag0.sign>
if (<act.isplayer>) || (<act.owner>) //line 3558
if !(strmatch(<ref1>,<ref2>))
src.sysmessage The damage against <name> has been nullified.
return 1
endif
endif


RE: error - XuN - 10-19-2014 04:33 PM

Sphere can't work with unexisting functions, you have to create [function owner] and add it to your scripts.