{"hash":"0xC41F4B6E23FE6A4A","ns":"PLAYER","name":"RESTORE_PLAYER_STAMINA","slug":"RESTORE_PLAYER_STAMINA","official":true,"named":true,"luaName":"RestorePlayerStamina","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"p1","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x0FF421E467373FCF"],"build":"1207","gtaHash":"0xA352C1B864CAFD33","gtaJhash":"0x62A93608","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PLAYER/RESTORE_PLAYER_STAMINA","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/RESTORE_PLAYER_STAMINA.md","snippets":{"lua":"RestorePlayerStamina(player, p1)","luaInvoke":"Citizen.InvokeNative(0xC41F4B6E23FE6A4A, player, p1)","js":"RestorePlayerStamina(player, p1);","jsInvoke":"Citizen.invokeNative('0xC41F4B6E23FE6A4A', player, p1 + 0.0000001);","csharp":"Function.Call((Hash)0xC41F4B6E23FE6A4A, player, p1);","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."]}}