RedM Natives

IS_PLAYER_COMMERCE_INFO_LOADED

This native is deprecated and may be removed in a future version.

Hash0xBEFE93F4
Runtime nameIsPlayerCommerceInfoLoaded
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

BOOL IS_PLAYER_COMMERCE_INFO_LOADED(char* playerSrc);

Parameters

NameTypeDescription
playerSrcchar*

The player handle

Returns BOOL — A boolean.

Description

Cfx.re native reference

This native is deprecated and may be removed in a future version. Use IS_PLAYER_COMMERCE_INFO_LOADED_EXT instead.

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

Usage

Lua
local retval = IsPlayerCommerceInfoLoaded(playerSrc)

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

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

Sources

Cfx.re native reference

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