_GET_PLAYER_MOOD
Hash
0x054473164C012699Runtime name
GetPlayerMoodNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_PLAYER_MOOD(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns int
Description
See _SET_PLAYER_MOOD
Usage
local retval = GetPlayerMood(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x054473164C012699, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPlayerMood(player);
// by hash
const retval = Citizen.invokeNative('0x054473164C012699', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x054473164C012699, player);- 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.