Log In
Sign Up
Game codeUnofficial name

PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY

0x9BF4C613E7ABDE83 ·RVA 0x03CD8180

Signature

void _SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY(
    Ped ped,
    Entity entity,
    Vector3 pos,
    float radius,
    BOOL p6,
    BOOL p7
);

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

Parameters 6

#TypeNameNotes
0Pedped –
1Entityentity –
2Vector3pos –
3floatradius –
4BOOLp6 RDR3 says int, but the game reads it as a true/false value.
5BOOLp7 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:

Call it

// PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
invoke<Void>(0x9BF4C613E7ABDE83, ped, entity, pos, radius, p6, p7);

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.