Im having a problem with this bit of code below...all the commands with 'usr' in work but not 'src' as you can see it has no problem with the if(istype(src, /mob/)) command
proc
die()
if(istype(src, /mob/obj))
new /mob/obj
usr.pl +=1
usr.str +=0.1
usr.def +=0.1
if(istype(src, /mob/))
if (src.pl <= 0.5)
if(istype(usr, /mob/))
usr.pl += 100
src.loc = locate(1,2,2)
src.pl = 65
These r the Errors that i get...=( please help
World.dm:401:error:src.pl:bad var
World.dm:404:error:src.loc:bad var
World.dm:405:error:src.pl:bad var
Copyright © 2024 BYOND Software.
All rights reserved.
Is a global proc
Is a mob proc, try changing your proc to a mob proc and see if that works.