ID:139258
 
Code:
mob/proc
Display_ip_address(mob/M as mob in world)
set category="Host"
set name="Player IP"
if (!M.client) return
//if(GLOBAL_ADMINS.Find(M.key)) return
src << "[M.name] / [M.key]'s IP address is: [M.client.address] "




Problem description: undefined proc

I added a mob/proc/namehere
I even tried to do a mob/var/namehere

I'm tried of it and its the only error I got left to finish a patch update. Any help please?


The dm tag is there for a reason, you should use it.
Indent "Display_ip_address(mob/M as mob in world)"

mob/proc
Display_ip_address(mob/M as mob in world)
set category="Host"
set name="Player IP"
if (!M.client) return
//if(GLOBAL_ADMINS.Find(M.key)) return
src << "[M.name] / [M.key]'s IP address is: [M.client.address] "
In response to Murrawhip
Ohs I think I see what your saying. So on my new Proc's I need to set the dm tags Basicly?
In response to Tenkichi
No... The DM tag is for displaying code in the forums, for readability.

Your code didn't work because you need to indent the line giving the proc its name.