RedM Natives

LOAD_PLAYER_COMMERCE_DATA

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

Hash0xA8F63EAB
Runtime nameLoadPlayerCommerceData
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void LOAD_PLAYER_COMMERCE_DATA(char* playerSrc);

Parameters

NameTypeDescription
playerSrcchar*

The player handle

Returns void

Description

Cfx.re native reference

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

Requests the commerce data for the specified player, including the owned SKUs. Use IS_PLAYER_COMMERCE_INFO_LOADED to check if it has loaded.

Usage

Lua
LoadPlayerCommerceData(playerSrc)

-- always works, by hash
Citizen.InvokeNative(0xa8f63eab, playerSrc)
JavaScript and C#
JavaScript
LoadPlayerCommerceData(playerSrc);

// by hash
Citizen.invokeNative('0xa8f63eab', playerSrc);
C#
Function.Call((Hash)0xa8f63eab, playerSrc);

Sources

Cfx.re native reference

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