Jump to content

Featured Replies

Posted

How do you get door hashes? I would like to unlock some doors and I am interested in the procedure to get them. I seen in another section that you can get door hashes by reading the game memory. If so, what software is required and what are the steps to do so?

  • Author

@LMS Thank you! This was just what I was looking for. I have tried using the following code in my Rage Plugin to unlock some doors but it isn't working for me.

 

 Game.CallNative("DOOR_SYSTEM_SET_DOOR_STATE", 1716899875, 0);

 

Do you know what I am doing wrong?

  • Author

@LMS How do I register doors?  I have tried the following while making a rage plugin:

 

Game.CallNative("_ADD_DOOR_TO_SYSTEM_NEW", "1716899875");

 

but the plugin just crashes.

  • 6 months later...

Was this ever solved? I am having a similar issue right now. No matter what I do, the door is still locked.

  On 2/3/2022 at 4:29 AM, M8T said:

Was this ever solved? I am having a similar issue right now. No matter what I do, the door is still locked.

 

Try this:
 

if (!OBJECT::IS_DOOR_REGISTERED_WITH_SYSTEM(doorHash)) {
    OBJECT::_ADD_DOOR_TO_SYSTEM_NEW(doorHash, 1, 0, 0, SCRIPTS::GET_ID_OF_THIS_THREAD(), 0, 0);
}

OBJECT::DOOR_SYSTEM_SET_DOOR_STATE(doorHash, 0); // 0 = DOORSTATE_UNLOCKED

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...