Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
mustafa saed

freezing the player's movements

Recommended Posts

Yeah I'm pretty dumb when it comes to simple scripts, but how do I stop a player from running around like a chicken with its head cut off during conversations and then making him move again when they stop talking?

Share this post


Link to post

to be precice:

SetPlayerProperty(0,1,0); //this freezes the player but lets him still look around
... //your conversation here
SetPlayerProperty(0,0,0);//this re-enables the player to walk
of course these only work for the calling player,if you were to stop all players from running around,you'd use
SetPlayerProperty(1,1,0);

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×