{"hash":"0x675680D089BFA21F","ns":"PED","name":"_RESTORE_PED_STAMINA","slug":"_RESTORE_PED_STAMINA","official":false,"named":true,"luaName":"RestorePedStamina","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"stamina","type":"float"}],"summary":"0.0 <= stamina <= 100.0","descriptions":[{"source":"alloc8or","format":"text","body":"0.0 <= stamina <= 100.0"}],"examples":[],"aliases":[],"enums":[],"related":["0xC3D4B754C0E86B9E","0x775A1CA7893AA8B5","0x36513AFFC703C60D"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_RESTORE_PED_STAMINA","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_RESTORE_PED_STAMINA.md","snippets":{"lua":"RestorePedStamina(ped, stamina)","luaInvoke":"Citizen.InvokeNative(0x675680D089BFA21F, ped, stamina)","js":"RestorePedStamina(ped, stamina);","jsInvoke":"Citizen.invokeNative('0x675680D089BFA21F', ped, stamina + 0.0000001);","csharp":"Function.Call((Hash)0x675680D089BFA21F, ped, stamina);","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."]}}