RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_PED_MOTIVATION

_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 void

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details