RedM Natives

_GET_LAUNCH_PARAM_STRING

Hash0xC59AB6A04333C502
Runtime nameGetLaunchParamString
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

const char* _GET_LAUNCH_PARAM_STRING();

Returns const char*

Usage

Lua
local retval = GetLaunchParamString()

-- always works, by hash
local retval = Citizen.InvokeNative(0xC59AB6A04333C502, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = GetLaunchParamString();

// by hash
const retval = Citizen.invokeNative('0xC59AB6A04333C502', Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0xC59AB6A04333C502);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.