BG_DOES_LAUNCH_PARAM_EXIST
Hash
0x4AE1DFF337A86FDERuntime name
BgDoesLaunchParamExistNamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x0F6F1EBBC4E1D5E6Not called by the game's own scripts — behaviour may be incomplete.
Signature
BOOL BG_DOES_LAUNCH_PARAM_EXIST(int scriptIndex, const char* p1);Parameters
| Name | Type | Description |
|---|---|---|
scriptIndex | int | — |
p1 | const char* | — |
Returns BOOL
Usage
local retval = BgDoesLaunchParamExist(scriptIndex, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4AE1DFF337A86FDE, scriptIndex, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = BgDoesLaunchParamExist(scriptIndex, p1);
// by hash
const retval = Citizen.invokeNative('0x4AE1DFF337A86FDE', scriptIndex, p1, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x4AE1DFF337A86FDE, scriptIndex, p1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.