_SET_SPECIAL_ABILITY_DISABLE_TIMER
Disables the special ability of player for the given time.
Signature
void _SET_SPECIAL_ABILITY_DISABLE_TIMER(Player player, float timer); // 0xC0B1C05B313693D1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | timer | float |
Facts
| Name | _SET_SPECIAL_ABILITY_DISABLE_TIMER |
|---|---|
| Hash | 0xC0B1C05B313693D1 |
| 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(0xC0B1C05B313693D1, -- _SET_SPECIAL_ABILITY_DISABLE_TIMER
PlayerId(), -- Player player
0.0 -- float timer
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC0B1C05B313693D1", // _SET_SPECIAL_ABILITY_DISABLE_TIMER
PlayerId(), // Player player
0.0 // float timer
);Function.Call((Hash)0xC0B1C05B313693D1, // _SET_SPECIAL_ABILITY_DISABLE_TIMER
API.PlayerId(), // Player player
0.0f // float timer
);Related PLAYER natives
- _SET_SPECIAL_ABILITY_DURATION_COST
- _SET_SPECIAL_ABILITY_ACTIVATION_COST
- _SET_SPECIAL_ABILITY_MULTIPLIER
- _SET_SPECIAL_ABILITY_TYPE
- _SECONDARY_SPECIAL_ABILITY_SET_ACTIVE
- _SECONDARY_SPECIAL_ABILITY_SET_DISABLED
- _SPECIAL_ABILITY_SET_ACTIVATE
- _SPECIAL_ABILITY_SET_DISABLED
- _SPECIAL_ABILITY_SET_EAGLE_EYE_DISABLED
- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
- _SET_DEADEYE_ABILITY_LEVEL
- _SET_DEADEYE_ABILITY_LOCKED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.