RedM Natives

_GET_STRING_FROM_BOOL

Hash0xF216F74101968DB0
Runtime nameGetStringFromBool
NamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207

Signature

const char* _GET_STRING_FROM_BOOL(BOOL value);

Parameters

NameTypeDescription
valueBOOL—

Returns const char*

Usage

Lua
local retval = GetStringFromBool(value)

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

// by hash
const retval = Citizen.invokeNative('0xF216F74101968DB0', value, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0xF216F74101968DB0, value);
  • 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.

Sources

alloc8or RDR3 NativeDB

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