COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE
Hash
0x9E7738B291706746Runtime name
ComputeSatchelItemForPedDamageNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE(Any p0, Ped pedAttached, int damageCleanliness);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any | — |
pedAttached | Ped | — |
damageCleanliness | int | — |
Returns BOOL
Usage
local retval = ComputeSatchelItemForPedDamage(p0, pedAttached, damageCleanliness)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9E7738B291706746, p0, pedAttached, damageCleanliness, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = ComputeSatchelItemForPedDamage(p0, pedAttached, damageCleanliness);
// by hash
const retval = Citizen.invokeNative('0x9E7738B291706746', p0, pedAttached, damageCleanliness, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x9E7738B291706746, p0, pedAttached, damageCleanliness);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.