natives.setCharDecisionMaker
natives.setCharDecisionMaker
Signature: void natives.setCharDecisionMaker(int ped, int decisionMakerId)
Usage: Assigns a decision maker to a ped, which controls how the ped reacts to threats, combat, and ambient events.
Parameters
- int ped The ped handle
- int decisionMakerId The decision maker ID that defines the ped’s AI behavior
Return
void
On failure: void