ScriptClient

bgDoesLaunchParamExist

BG_DOES_LAUNCH_PARAM_EXIST0x0F6F1EBBC4E1D5E6

The GTA V native BG_DOES_LAUNCH_PARAM_EXIST of the SCRIPT namespace, as LS:MP client scripts call it: the global function bgDoesLaunchParamExist, in JavaScript and in Lua.

SignatureJavaScript
bgDoesLaunchParamExist(scriptIndex: number, p1: string): boolean
SignatureLua
bgDoesLaunchParamExist(scriptIndex: integer, p1: string): boolean

Usage

JavaScript
const result = bgDoesLaunchParamExist(scriptIndex, p1);
Lua
local result = bgDoesLaunchParamExist(scriptIndex, p1)

Parameters

ParameterTypeJavaScriptLua
scriptIndexintnumberinteger
p1stringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Script SCRIPT
In the game
BOOL BG_DOES_LAUNCH_PARAM_EXIST(int scriptIndex, const char* p1)
Hash
0x0F6F1EBBC4E1D5E6

Open in the interactive natives reference