RedM Natives

IS_PC_VERSION

Hardcoded to return true.

Hash0xB0FB6CFAA5A1C833
Runtime nameIsPcVersion
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x48AF36444B965238

Signature

BOOL IS_PC_VERSION();

Returns BOOL

Description

Hardcoded to return true.

Usage

Lua
local retval = IsPcVersion()

-- always works, by hash
local retval = Citizen.InvokeNative(0xB0FB6CFAA5A1C833, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPcVersion();

// by hash
const retval = Citizen.invokeNative('0xB0FB6CFAA5A1C833', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB0FB6CFAA5A1C833);

Sources

alloc8or RDR3 NativeDB

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