_HAS_PED_TAKEN_GORE_DAMAGE
Hash
0xBA208A8D6399A3ACRuntime name
HasPedTakenGoreDamageNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _HAS_PED_TAKEN_GORE_DAMAGE(Ped ped, int limb);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
limb | int | — |
Returns BOOL
Description
limb: 3 = Left Hand, 4 = Left Arm, 6 = Right Hand, 7 = Right Arm, 9 = Left Foot, 10 = Left Leg, 12 = Right Foot, 13 = Right Leg, 37 = Head
Usage
local retval = HasPedTakenGoreDamage(ped, limb)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBA208A8D6399A3AC, ped, limb, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasPedTakenGoreDamage(ped, limb);
// by hash
const retval = Citizen.invokeNative('0xBA208A8D6399A3AC', ped, limb, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xBA208A8D6399A3AC, ped, limb);- 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.