_SET_FORCE_CURRENT_WEAPON_INTO_COCKED_STATE
Hash
0x5230D3F6EE56CFE6Runtime name
SetForceCurrentWeaponIntoCockedStateNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_FORCE_CURRENT_WEAPON_INTO_COCKED_STATE(Ped ped, int attachPoint);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attachPoint | int | — |
Returns void
Usage
SetForceCurrentWeaponIntoCockedState(ped, attachPoint)
-- always works, by hash
Citizen.InvokeNative(0x5230D3F6EE56CFE6, ped, attachPoint)JavaScript and C#
SetForceCurrentWeaponIntoCockedState(ped, attachPoint);
// by hash
Citizen.invokeNative('0x5230D3F6EE56CFE6', ped, attachPoint);Function.Call((Hash)0x5230D3F6EE56CFE6, ped, attachPoint);- 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.
Enums and flags
- eWeaponAttachPoint 33 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.