RedM Natives

_SET_PLAYER_MOOD

Hash0x39BED552DB46FFA9
Runtime nameSetPlayerMood
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PLAYER_MOOD(Player player, int mood);

Parameters

NameTypeDescription
playerPlayer—
moodint—

Returns void

Description

mood: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedMood

Usage

Lua
SetPlayerMood(player, mood)

-- always works, by hash
Citizen.InvokeNative(0x39BED552DB46FFA9, player, mood)
JavaScript and C#
JavaScript
SetPlayerMood(player, mood);

// by hash
Citizen.invokeNative('0x39BED552DB46FFA9', player, mood);
C#
Function.Call((Hash)0x39BED552DB46FFA9, player, mood);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.