_SET_USED_ITEM_EFFECT
Shows the effect of a used item on the health, stamina and Dead Eye bars and cores.
Signature
void _SET_USED_ITEM_EFFECT(float health, float stamina, float deadeye, int healthCore, int staminaCore, int deadeyeCore); // 0x0E1DB1F8F5B561DC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | health | float |
| 2 | stamina | float |
| 3 | deadeye | float |
| 4 | healthCore | int |
| 5 | staminaCore | int |
| 6 | deadeyeCore | int |
Facts
| 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.
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
)// 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
);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
);Related PLAYER natives
- _SET_DEADEYE_ENTITY_AURA_EFFECT
- _SET_DEADEYE_ENTITY_AURA_EFFECT_INTENSITY
- _SET_AI_PLAYER_DEFENSE_MODIFIER_AGAINST_AI
- _SET_BOUNTY_TARGET
- _SET_BOW_DRAW_REDUCTION_TIME_IN_DEADEYE
- _SET_BOW_STAMINA_DRAIN_SPEED
- _SET_DAMAGE_CLOSE_DISTANCE_BONUS
- _SET_DAMAGE_CLOSE_DISTANCE_BONUS_TOTAL
- _SET_DAMAGE_FAR_DISTANCE_BONUS
- _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL
- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
- _SET_DEADEYE_ABILITY_LEVEL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.