IS_PLAYER_COMMERCE_INFO_LOADED
This native is deprecated and may be removed in a future version.
Signature
BOOL IS_PLAYER_COMMERCE_INFO_LOADED(char* playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | char* | The player handle |
Returns BOOL — A boolean.
Description
This native is deprecated and may be removed in a future version. Use
IS_PLAYER_COMMERCE_INFO_LOADED_EXTinstead.
Requests whether or not the commerce data for the specified player has loaded.
Usage
local retval = IsPlayerCommerceInfoLoaded(playerSrc)
-- always works, by hash
local retval = Citizen.InvokeNative(0xbefe93f4, playerSrc, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPlayerCommerceInfoLoaded(playerSrc);
// by hash
const retval = Citizen.invokeNative('0xbefe93f4', playerSrc, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xbefe93f4, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.