The Lab
PLAYER native

RESTORE_PLAYER_STAMINA

returns void2 paramsbuild 1207

Restores the stamina of player by the given amount.

Signature

C
void RESTORE_PLAYER_STAMINA(Player player, float p1); // 0xC41F4B6E23FE6A4A b1207

Parameters

#NameType
1playerPlayer
2p1float

Facts

Facts about RESTORE_PLAYER_STAMINA
Name
RESTORE_PLAYER_STAMINA
Hash
0xC41F4B6E23FE6A4A
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xC41F4B6E23FE6A4A, -- RESTORE_PLAYER_STAMINA
  PlayerId(), -- Player player
  0.0 -- float p1
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC41F4B6E23FE6A4A", // RESTORE_PLAYER_STAMINA
  PlayerId(), // Player player
  0.0 // float p1
);
C#
Function.Call((Hash)0xC41F4B6E23FE6A4A, // RESTORE_PLAYER_STAMINA
  API.PlayerId(), // Player player
  0.0f // float p1
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.