Jump to content

Ped freeze


Recommended Posts

toggleAllControls won't work on anything but players. It doesn't even make sense for anything but players, because it disables specifically inputs done manually - setControlState (or setPedControlState on localPlayer) even works if the controls are disabled for local player.

The proper solution is not making them attack in the first place. It is the script that sets the control states, so it should set them to false and keep them that way.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...