The Lab
NETWORK native

_GET_LAUNCH_PARAM_EXISTS

returns BOOL1 parambuild 1207

Returns true if a launch parameter named paramName exists.

Signature

C
BOOL _GET_LAUNCH_PARAM_EXISTS(const char* paramName); // 0x02E97CE283648CD9 b1207

Parameters

#NameType
1paramNameconst char*

Facts

Facts about _GET_LAUNCH_PARAM_EXISTS
Name
_GET_LAUNCH_PARAM_EXISTS
Hash
0x02E97CE283648CD9
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x02E97CE283648CD9, -- _GET_LAUNCH_PARAM_EXISTS
  "text" -- const char* paramName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x02E97CE283648CD9", // _GET_LAUNCH_PARAM_EXISTS
  "text", // const char* paramName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x02E97CE283648CD9, // _GET_LAUNCH_PARAM_EXISTS
  "text" // const char* paramName
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.