RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. REQUEST_PLAYER_COMMERCE_SESSION

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 void

Parameters

NameTypeDescription
char*The player handle
intThe 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

On this page

  • Signature
  • Parameters
  • Usage
  • Details