GET_LAUNCH_PARAM_VALUE
Hash
0x65E65CA6A0FE59D4Runtime name
GetLaunchParamValueNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
Signature
const char* GET_LAUNCH_PARAM_VALUE(const char* paramName);Parameters
| Name | Type | Description |
|---|---|---|
paramName | const char* | — |
Returns const char*
Usage
local retval = GetLaunchParamValue(paramName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x65E65CA6A0FE59D4, paramName, Citizen.ResultAsString())JavaScript and C#
const retval = GetLaunchParamValue(paramName);
// by hash
const retval = Citizen.invokeNative('0x65E65CA6A0FE59D4', paramName, Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0x65E65CA6A0FE59D4, paramName);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.