_SET_PED_COMBAT_ATTRIBUTE_HASH
_SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*
Hash
0xBD75500141E4725CRuntime name
SetPedCombatAttributeHashNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_COMBAT_ATTRIBUTE_HASH(Ped ped, Hash p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | Hash | — |
Returns void
Description
Hashes: GUARD, COMBAT_ANIMAL, LAW, LAW_SHERIFF
_SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*
Usage
SetPedCombatAttributeHash(ped, p1)
-- always works, by hash
Citizen.InvokeNative(0xBD75500141E4725C, ped, p1)JavaScript and C#
SetPedCombatAttributeHash(ped, p1);
// by hash
Citizen.invokeNative('0xBD75500141E4725C', ped, p1);Function.Call((Hash)0xBD75500141E4725C, ped, p1);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.