_SET_DEADEYE_ABILITY_LOCKED
Hash
0x2797B8D66DD0EBB8Runtime name
SetDeadeyeAbilityLockedNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_DEADEYE_ABILITY_LOCKED(Player player, int abilityType, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
abilityType | int | — |
toggle | BOOL | — |
Returns void
Usage
SetDeadeyeAbilityLocked(player, abilityType, toggle)
-- always works, by hash
Citizen.InvokeNative(0x2797B8D66DD0EBB8, player, abilityType, toggle)JavaScript and C#
SetDeadeyeAbilityLocked(player, abilityType, toggle);
// by hash
Citizen.invokeNative('0x2797B8D66DD0EBB8', player, abilityType, toggle);Function.Call((Hash)0x2797B8D66DD0EBB8, player, abilityType, toggle);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.