Log In
Sign Up
Game codeUnofficial name

LAW::_CREATE_GUARD_ZONE_FOR_ENTITY

0x9DB8A12CF2B48817 ·RVA 0x04BDC6F0

Signature

BOOL _CREATE_GUARD_ZONE_FOR_ENTITY(
    Hash guardZoneName,
    Vector3 pos
);

The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).

Parameters 2

#TypeNameNotes
0HashguardZoneName RDR3 takes a string; GTA VI passes its hash.
1Vector3pos –

Returns

BOOL

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • entity, in RDR3's signature, is not passed in GTA VI.

Call it

// LAW::_CREATE_GUARD_ZONE_FOR_ENTITY
auto result = invoke<BOOL>(0x9DB8A12CF2B48817, guardZoneName, pos);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.