biostunt Posted August 15, 2019 Share Posted August 15, 2019 Sup Guys! I have a problem with lock the prison doors. I try this: mp.game.object.doorControl(631614199,461.8065, -994.4086, 25.06443, true, 0.0, 50.0, 0); But it isnt working. I call this event when player enter the server: mp.events.add("lockDoors",()=>{ mp.game.graphics.notify('~g~Hello ~w~World'); mp.game.object.doorControl(631614199,461.8065, -994.4086, 25.06443, true, 0.0, 50.0, 0); }) Link to comment Share on other sites More sharing options...
MrCarter Posted August 20, 2019 Share Posted August 20, 2019 It might be that you need to load/unload another ipl first. I'd try to remove those doors and set it as clientside object and handle it through a custom event. Then you can interact with the door like sliding it only half the way or remove it, when someone blows it up. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now