The Lab
PLAYER native

_SET_PLAYER_MOOD

returns void2 paramsbuild 1207

Sets the mood value of player.

Signature

C
void _SET_PLAYER_MOOD(Player player, int mood); // 0x39BED552DB46FFA9 b1207

Parameters

#NameType
1playerPlayer
2moodint

Facts

Facts about _SET_PLAYER_MOOD
Name
_SET_PLAYER_MOOD
Hash
0x39BED552DB46FFA9
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x39BED552DB46FFA9, -- _SET_PLAYER_MOOD
  PlayerId(), -- Player player
  0 -- int mood
)
JavaScript
Citizen.invokeNative("0x39BED552DB46FFA9", // _SET_PLAYER_MOOD
  PlayerId(), // Player player
  0 // int mood
);
C#
Function.Call((Hash)0x39BED552DB46FFA9, // _SET_PLAYER_MOOD
  API.PlayerId(), // Player player
  0 // int mood
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.