disablePlayerHealthRecharge
DISABLE_PLAYER_HEALTH_RECHARGE0xBCB06442F7E52666The GTA V native DISABLE_PLAYER_HEALTH_RECHARGE of the PLAYER namespace, as LS:MP client scripts call it: the global function disablePlayerHealthRecharge, in JavaScript and in Lua.
disablePlayerHealthRecharge(player: Player): voiddisablePlayerHealthRecharge(player: Player)Usage
JavaScript
disablePlayerHealthRecharge(player);Lua
disablePlayerHealthRecharge(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Needs to be called every frame.
Reference
- Namespace
- Player PLAYER
- In the game
void DISABLE_PLAYER_HEALTH_RECHARGE(Player player)- Hash
0xBCB06442F7E52666- Introduced
- Game build 2802 legacy numbering