Log In
Sign Up
Game codeUnofficial name

PED::_SET_PED_MELEE_ACTION

0xC8E38BF83B750BDF ·RVA 0x04BD9C20

Signature

BOOL _SET_PED_MELEE_ACTION(Ped p0, int p1);

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
0Pedp0 the game looks it up as a ped.
1intp1 –

Returns

BOOL

the game returns one byte.

Call it

// PED::_SET_PED_MELEE_ACTION
auto result = invoke<BOOL>(0xC8E38BF83B750BDF, p0, p1);

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.