LOAD_PLAYER_COMMERCE_DATA
This native is deprecated and may be removed in a future version.
Signature
void LOAD_PLAYER_COMMERCE_DATA(char* playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | char* | The player handle |
Returns void
Description
This native is deprecated and may be removed in a future version. Use
LOAD_PLAYER_COMMERCE_DATA_EXTinstead.
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
LoadPlayerCommerceData(playerSrc)
-- always works, by hash
Citizen.InvokeNative(0xa8f63eab, playerSrc)JavaScript and C#
LoadPlayerCommerceData(playerSrc);
// by hash
Citizen.invokeNative('0xa8f63eab', playerSrc);Function.Call((Hash)0xa8f63eab, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.