_SET_PLAYER_MOOD
Hash
0x39BED552DB46FFA9Runtime name
SetPlayerMoodNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_MOOD(Player player, int mood);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
mood | int | — |
Returns void
Description
mood: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedMood
Usage
SetPlayerMood(player, mood)
-- always works, by hash
Citizen.InvokeNative(0x39BED552DB46FFA9, player, mood)JavaScript and C#
SetPlayerMood(player, mood);
// by hash
Citizen.invokeNative('0x39BED552DB46FFA9', player, mood);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
InvokeNativewith the hash — it always works.
Enums and flags
- ePedMood 10 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.