PlayerClient

disablePlayerThrowGrenadeWhileUsingGun

DISABLE_PLAYER_THROW_GRENADE_WHILE_USING_GUN0xB885852C39CC265D

The GTA V native DISABLE_PLAYER_THROW_GRENADE_WHILE_USING_GUN of the PLAYER namespace, as LS:MP client scripts call it: the global function disablePlayerThrowGrenadeWhileUsingGun, in JavaScript and in Lua.

SignatureJavaScript
disablePlayerThrowGrenadeWhileUsingGun(): void
SignatureLua
disablePlayerThrowGrenadeWhileUsingGun()

Usage

JavaScript
disablePlayerThrowGrenadeWhileUsingGun();
Lua
disablePlayerThrowGrenadeWhileUsingGun()

Parameters

None.

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.

Used only once in R* scripts (freemode.ysc).

Reference

Namespace
Player PLAYER
In the game
void DISABLE_PLAYER_THROW_GRENADE_WHILE_USING_GUN()
Hash
0xB885852C39CC265D

Open in the interactive natives reference