RedM Natives

SET_DECISION_MAKER

Hash0x8AE2F981CDDB8FA4
Runtime nameSetDecisionMaker
NamespaceEVENT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB604A2942ADED0EE

Signature

void SET_DECISION_MAKER(Ped ped, Hash name);

Parameters

NameTypeDescription
pedPed—
nameHash—

Returns void

Usage

Lua
SetDecisionMaker(ped, name)

-- always works, by hash
Citizen.InvokeNative(0x8AE2F981CDDB8FA4, ped, name)
JavaScript and C#
JavaScript
SetDecisionMaker(ped, name);

// by hash
Citizen.invokeNative('0x8AE2F981CDDB8FA4', ped, name);
C#
Function.Call((Hash)0x8AE2F981CDDB8FA4, ped, name);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.