RedM Natives

IS_PLAYER_COMMERCE_INFO_LOADED_EXT

Requests whether or not the commerce data for the specified player has loaded from Tebex.

Hash0x1D14F4FE
Runtime nameIsPlayerCommerceInfoLoadedExt
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

BOOL IS_PLAYER_COMMERCE_INFO_LOADED_EXT(char* playerSrc);

Parameters

NameTypeDescription
playerSrcchar*

The player handle

Returns BOOL — A boolean.

Description

Cfx.re native reference

Requests whether or not the commerce data for the specified player has loaded from Tebex.

Usage

Lua
local retval = IsPlayerCommerceInfoLoadedExt(playerSrc)

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

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

Sources

Cfx.re native reference

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