RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_PLAYER_TOKEN

GET_PLAYER_TOKEN

Gets a player's token. Tokens can be used to enhance banning logic, however are specific to a server.

CFX

Signature

lua
GetPlayerToken(playerSrc, 0)
-- returns char*

Parameters

NameTypeDescription
char*A player.
intIndex between 0 and GET_NUM_PLAYER_TOKENS.

Usage

lua
GetPlayerToken(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