REQUEST_PLAYER_COMMERCE_SESSION
> This native is deprecated and may be removed in a future version. Use the [Tebex API](https://docs.tebex.io/) instead. Requests the specified player to buy the passed SKU. This'll pop up a prompt on the client, which upon acceptance will open the browser prompting further purchase details.
CFX
Signature
lua
RequestPlayerCommerceSession(playerSrc, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| char* | The player handle | |
| int | The ID of the SKU. |
Usage
lua
RequestPlayerCommerceSession(playerSrc, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
