restorePlayerStamina
RESTORE_PLAYER_STAMINA0xA352C1B864CAFD33The GTA V native RESTORE_PLAYER_STAMINA of the PLAYER namespace, as LS:MP client scripts call it: the global function restorePlayerStamina, in JavaScript and in Lua.
restorePlayerStamina(player: Player, p1: number): voidrestorePlayerStamina(player: Player, p1: number)Usage
JavaScript
restorePlayerStamina(player, p1);Lua
restorePlayerStamina(player, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
p1 | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Player PLAYER
- In the game
void RESTORE_PLAYER_STAMINA(Player player, float p1)- Hash
0xA352C1B864CAFD33