RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_DOOR_KNOCKING_WHEN_LOCKED

_SET_DOOR_KNOCKING_WHEN_LOCKED

Changes the interaction behavior for a locked door. Normally, when interacting with a locked door, the character tries the handle. When this native is enabled, that behavior is replaced with a knocking/tapping interaction for the specified door. With toggle enabled: - pressing the interact button on a locked door makes the character knock/tap on the door instead of trying the handle - this does not unlock the door - if the door is in a breakable/force-open state, it may still be opened by physically forcing it (e.g. sprinting into it), but normal interaction still uses the knocking behavior

OBJECTBuild 1207

Signature

lua
SetDoorKnockingWhenLocked(GetHashKey("..."), true)
-- returns void

Parameters

NameTypeDescription
Hash—
BOOL—

Usage

lua
SetDoorKnockingWhenLocked(GetHashKey("..."), true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details