The Lab
PED native

_HAS_PED_EMOTIONAL_PRESET_LOADED

returns BOOL2 paramsbuild 1207

Returns true once the emotional preset name is loaded for ped.

Signature

C
BOOL _HAS_PED_EMOTIONAL_PRESET_LOADED(Ped ped, const char* name); // 0xDE3904B22695D9F9 b1207

Parameters

#NameType
1pedPed
2nameconst char*

Facts

Facts about _HAS_PED_EMOTIONAL_PRESET_LOADED
Name
_HAS_PED_EMOTIONAL_PRESET_LOADED
Hash
0xDE3904B22695D9F9
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xDE3904B22695D9F9, -- _HAS_PED_EMOTIONAL_PRESET_LOADED
  PlayerPedId(), -- Ped ped
  "text" -- const char* name
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xDE3904B22695D9F9", // _HAS_PED_EMOTIONAL_PRESET_LOADED
  PlayerPedId(), // Ped ped
  "text", // const char* name
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xDE3904B22695D9F9, // _HAS_PED_EMOTIONAL_PRESET_LOADED
  API.PlayerPedId(), // Ped ped
  "text" // const char* name
);
All PED natives

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