ID:167142
 
Is it neccissary to use client in the move procedure? Because all i need to do is
mob
Move()
if(move)
..()
else
return
And it works just as well... Though if it really is better to use client, could somone show me how it's done?
mob/Move() return

That won't allow the mob to move.

client/Move() return

That won't allow the client to move the mob.
There's a minor point of distinction. If you do it with the mob, then you can make any mob (PC or NPC) unable to move. If you want only the PCs to be affected, you use the client. In some games, where PCs and NPCs follow different rules for delays, etc (such as fairly weak monsters versus powerful PCs), you don't want your delays to affect mobs universally. On the other hand, if you just want a simple move/no-move toggle for mobs, then what you're doing is just fine.