ID:167076
![]() May 4 2006, 9:59 am
|
|
I need to know how to make the code so only the person who made the object can delete it. Anyone know how to? Please help.
|
![]() May 4 2006, 10:01 am
|
|
Give the obj an Owner var, then when deleting check to see if the mob is the owner of the obj, if he is delete it, if not dont delete it.
|
mob EDIT: I just figured you didn't know how to use the owner var, so.. here. Obviously the indentention is wrong, so dont just copy and paste. But you get the gist. obj/var/owner |