ID:174917
Jul 6 2003, 9:02 pm
|
|
How do I lock the players movements so they cannot move when I want them to?
|
In response to Camaro
|
|
it's just a siple frozen proc :P
usr.frozen = 1 (usr can't move) usr.frozen = 0 (Yay! he can move again! it's a miracle!!) c? |
In response to ShakerDeath
|
|
ShakerDeath wrote:
it's just a siple frozen proc :PYou need much more then two simple vars. It has something to do with client Move() if(src.frozen)return 0 else..() That's how it should look like. Or something like that. |
In response to SSChicken
|
|
yea.. i know.. i guess..*yawn* man, i'm tier.... *zzzzzZZZZZ*
|
In response to SSChicken
|
|
mob/var/lock = 0
mob Move() if(lock) return 0 else ..() Client would be good for just players, but if he has walk_rand() mobs with this code he can lock those too. Airjoe NOTE: improper indentation |
There's a million posts in the byond forums about this... try searching for it.
Here's what I came up with for you though.
Click Here
-Camaro-