{"hash":"0xDCF06D0CDFF68424","ns":"WEAPON","name":"_HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON","slug":"_HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON","official":false,"named":true,"luaName":"HasEntityBeenDamagedByWeapon","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"entity","type":"Entity"},{"name":"weaponName","type":"Hash"},{"name":"weaponType","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/_HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON.md","snippets":{"lua":"local retval = HasEntityBeenDamagedByWeapon(entity, weaponName, weaponType)","luaInvoke":"local retval = Citizen.InvokeNative(0xDCF06D0CDFF68424, entity, weaponName, weaponType, Citizen.ReturnResultAnyway())","js":"const retval = HasEntityBeenDamagedByWeapon(entity, weaponName, weaponType);","jsInvoke":"const retval = Citizen.invokeNative('0xDCF06D0CDFF68424', entity, weaponName, weaponType, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xDCF06D0CDFF68424, entity, weaponName, weaponType);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"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 `InvokeNative` with the hash — it always works."]}}