area
NonPK_Zone
Entered(atom/O)
..()
if(ismob(O))
usr.PK=0
return ..()
Exited(atom/O)
..()
if(ismob(O))
usr.PK=1
return ..()
mob/var/PK = 1
Problem description:
If the PK = 0 you arent supposed to use jtusus or attack (naruto game).
When I load with my character on a place that has the NonPK Zone i still can attack and use jutsus. Even when I walk around in the NonPK Zone (and im sure i placed the NOn PK zone) it still allows me to use jutsus.
Now, when I walk out the Non PK zone andi wlak back in it i cant use jutsus because i set this to every jutsu/attack:
if(!usr.PK)return
My apologies if I made a dumb mistake, but this is the first time I made such a system.
Regards,
Rick(Sokkiejjj) ~NUR Owner