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
| Name | Type | Description |
|---|---|---|
| char* | A player. | |
| int | Index 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
