The Lab
PLAYER native

_SET_USED_ITEM_EFFECT

returns void6 paramsbuild 1207

Shows the effect of a used item on the health, stamina and Dead Eye bars and cores.

Signature

C
void _SET_USED_ITEM_EFFECT(float health, float stamina, float deadeye, int healthCore, int staminaCore, int deadeyeCore); // 0x0E1DB1F8F5B561DC b1207

Parameters

#NameType
1healthfloat
2staminafloat
3deadeyefloat
4healthCoreint
5staminaCoreint
6deadeyeCoreint

Facts

Facts about _SET_USED_ITEM_EFFECT
Name
_SET_USED_ITEM_EFFECT
Hash
0x0E1DB1F8F5B561DC
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(0x0E1DB1F8F5B561DC, -- _SET_USED_ITEM_EFFECT
  0.0, -- float health
  0.0, -- float stamina
  0.0, -- float deadeye
  0, -- int healthCore
  0, -- int staminaCore
  0 -- int deadeyeCore
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x0E1DB1F8F5B561DC", // _SET_USED_ITEM_EFFECT
  0.0, // float health
  0.0, // float stamina
  0.0, // float deadeye
  0, // int healthCore
  0, // int staminaCore
  0 // int deadeyeCore
);
C#
Function.Call((Hash)0x0E1DB1F8F5B561DC, // _SET_USED_ITEM_EFFECT
  0.0f, // float health
  0.0f, // float stamina
  0.0f, // float deadeye
  0, // int healthCore
  0, // int staminaCore
  0 // int deadeyeCore
);
All PLAYER natives

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