{"hash":"0x0E1DB1F8F5B561DC","ns":"PLAYER","name":"_SET_USED_ITEM_EFFECT","slug":"_SET_USED_ITEM_EFFECT","official":false,"named":true,"luaName":"SetUsedItemEffect","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"health","type":"float"},{"name":"stamina","type":"float"},{"name":"deadeye","type":"float"},{"name":"healthCore","type":"int"},{"name":"staminaCore","type":"int"},{"name":"deadeyeCore","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PLAYER/_SET_USED_ITEM_EFFECT","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_SET_USED_ITEM_EFFECT.md","snippets":{"lua":"SetUsedItemEffect(health, stamina, deadeye, healthCore, staminaCore, deadeyeCore)","luaInvoke":"Citizen.InvokeNative(0x0E1DB1F8F5B561DC, health, stamina, deadeye, healthCore, staminaCore, deadeyeCore)","js":"SetUsedItemEffect(health, stamina, deadeye, healthCore, staminaCore, deadeyeCore);","jsInvoke":"Citizen.invokeNative('0x0E1DB1F8F5B561DC', health + 0.0000001, stamina + 0.0000001, deadeye + 0.0000001, healthCore, staminaCore, deadeyeCore);","csharp":"Function.Call((Hash)0x0E1DB1F8F5B561DC, health, stamina, deadeye, healthCore, staminaCore, deadeyeCore);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}