_SET_PED_MOTIVATION
enum eMotivationState { TOILET_STATE, FEAR_STATE, ANGRY_STATE, AGITATION_STATE, HUNGRY_STATE, TIRED_STATE, SAD_STATE, BRAVE_STATE, OFFER_ITEM_STATE, SUSPICION, DRUNK_STATE }; If targetPed is set to 0 the ped motivationState affects everyone
PEDBuild 1207
Signature
lua
SetPedMotivation(PlayerPedId(), 0, 0.0, targetPed)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| int | — | |
| float | — | |
| Ped | — |
Usage
lua
SetPedMotivation(PlayerPedId(), 0, 0.0, targetPed)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
