ID:262768
 
Code:
area
area12
Entered(mob/M)
if(M.type == /mob/Player)
usr<< ""
else
return


Problem description: people, how i create a area that only players can enter???

area
Stopper
Enter(atom/M)
if(istype(M,/mob/))
var/mob/P = M
if(P.client) return 1
return 0
In response to Sniper Joe
You need to realise that returning 1 would allow anything to enter even if there are other things in there. Better to return ..().

~~> Unknown Person
In response to Sniper Joe
You know, there's a built-in proc to check wether 'M' is a mob: ismob()...

O-matic