{"hash":"0xFE0304050261442C","ns":"PLAYER","name":"_GET_PLAYER_WEAPON_DAMAGE","slug":"_GET_PLAYER_WEAPON_DAMAGE","official":false,"named":true,"luaName":"GetPlayerWeaponDamage","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"player","type":"Player"},{"name":"weaponHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PLAYER/_GET_PLAYER_WEAPON_DAMAGE","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_GET_PLAYER_WEAPON_DAMAGE.md","snippets":{"lua":"local retval = GetPlayerWeaponDamage(player, weaponHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xFE0304050261442C, player, weaponHash, Citizen.ResultAsFloat())","js":"const retval = GetPlayerWeaponDamage(player, weaponHash);","jsInvoke":"const retval = Citizen.invokeNative('0xFE0304050261442C', player, weaponHash, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0xFE0304050261442C, player, weaponHash);","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."]}}