_HAS_PED_EMOTIONAL_PRESET_LOADED
Returns true once the emotional preset name is loaded for ped.
Signature
BOOL _HAS_PED_EMOTIONAL_PRESET_LOADED(Ped ped, const char* name); // 0xDE3904B22695D9F9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | name | const char* |
Facts
| 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.
local result = Citizen.InvokeNative(0xDE3904B22695D9F9, -- _HAS_PED_EMOTIONAL_PRESET_LOADED
PlayerPedId(), -- Ped ped
"text" -- const char* name
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xDE3904B22695D9F9", // _HAS_PED_EMOTIONAL_PRESET_LOADED
PlayerPedId(), // Ped ped
"text", // const char* name
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xDE3904B22695D9F9, // _HAS_PED_EMOTIONAL_PRESET_LOADED
API.PlayerPedId(), // Ped ped
"text" // const char* name
);Related PED natives
- _HAS_META_PED_ASSET_LOADED
- _HAS_META_PED_OUTFIT_LOADED
- _HAS_META_PED_REQUEST_LOADED
- _HAS_PED_BEEN_SHOVED_RECENTLY
- _HAS_PED_KNOCKED_ON_DOOR
- _HAS_PED_SHOT_RECENTLY
- _HAS_PED_TAKEN_GORE_DAMAGE
- _PED_EMOTIONAL_PRESET_LOCO_MOTION
- _REMOVE_PED_EMOTIONAL_PRESET
- _REQUEST_PED_EMOTIONAL_PRESET
- _APPLY_PED_META_PED_OUTFIT
- _CAN_PED_HEAR_TARGET_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.