PlayerClient

startFiringAmnesty

START_FIRING_AMNESTY0xBF9BD71691857E48

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

SignatureJavaScript
startFiringAmnesty(duration: number): void
SignatureLua
startFiringAmnesty(duration: integer)

Usage

JavaScript
startFiringAmnesty(duration);
Lua
startFiringAmnesty(duration)

Parameters

ParameterTypeJavaScriptLua
durationintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Player PLAYER
In the game
void START_FIRING_AMNESTY(int duration)
Hash
0xBF9BD71691857E48

Open in the interactive natives reference