SET_DECISION_MAKER
Hash
0x8AE2F981CDDB8FA4Runtime name
SetDecisionMakerNamespaceEVENT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB604A2942ADED0EESignature
void SET_DECISION_MAKER(Ped ped, Hash name);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
name | Hash | — |
Returns void
Usage
SetDecisionMaker(ped, name)
-- always works, by hash
Citizen.InvokeNative(0x8AE2F981CDDB8FA4, ped, name)JavaScript and C#
SetDecisionMaker(ped, name);
// by hash
Citizen.invokeNative('0x8AE2F981CDDB8FA4', ped, name);Function.Call((Hash)0x8AE2F981CDDB8FA4, ped, name);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.