@citizenfx/server 2.0.12208-1 → 2.0.12255-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/natives_server.d.ts +4 -1
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -1742,7 +1742,10 @@ declare function IsVehicleWindowIntact(vehicle: number, windowIndex: number): bo
|
|
|
1742
1742
|
declare function LoadPlayerCommerceData(playerSrc: string): void;
|
|
1743
1743
|
|
|
1744
1744
|
/**
|
|
1745
|
-
* Requests the commerce data from Tebex for the specified player, including the owned SKUs.
|
|
1745
|
+
* Requests the commerce data from Tebex for the specified player, including the owned SKUs.
|
|
1746
|
+
* Use [`IS_PLAYER_COMMERCE_INFO_LOADED_EXT`](#\_0x1D14F4FE) to check if it has loaded.
|
|
1747
|
+
* This will not automatically update whenever a client purchases a package, if you want to fetch new purchases you will need to call this native again.
|
|
1748
|
+
* This native will temporarily cache the players commerce data for 10 seconds, a call to this native after 10 seconds will re-fetch the players commerce data.
|
|
1746
1749
|
* @param playerSrc The player handle
|
|
1747
1750
|
*/
|
|
1748
1751
|
declare function LoadPlayerCommerceDataExt(playerSrc: string): void;
|