EventsClient

setDecisionMaker

SET_DECISION_MAKER0xB604A2942ADED0EE

The GTA V native SET_DECISION_MAKER of the EVENT namespace, as LS:MP client scripts call it: the global function setDecisionMaker, in JavaScript and in Lua.

SignatureJavaScript
setDecisionMaker(ped: Ped, name: Hash): void
SignatureLua
setDecisionMaker(ped: Ped, name: Hash)

Usage

JavaScript
setDecisionMaker(ped, name);
Lua
setDecisionMaker(ped, name)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
nameHashnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Events EVENT
In the game
void SET_DECISION_MAKER(Ped ped, Hash name)
Hash
0xB604A2942ADED0EE

Open in the interactive natives reference