Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Support tokens in player class #30

Closed
Ekinoxx0 opened this issue Mar 19, 2021 · 2 comments
Closed

Support tokens in player class #30

Ekinoxx0 opened this issue Mar 19, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request fivem Bugs that relate to FiveM server Related to serverside stuff

Comments

@Ekinoxx0
Copy link

Hello, there is a new type of "identifiers" that could be useful for developers.

These tokens are more clearly explained in this original commit : Commit

This is very low priority because we could very easily get them without the Player class, but exposing them in their specifics methods could expose them to more developers that don't know about this beautiful system.

Natives for references :

  • GetNumPlayerTokens(playerSrc)
  • GetPlayerToken(playerSrc, index)
@benank benank added enhancement New feature or request fivem Bugs that relate to FiveM server Related to serverside stuff labels Mar 19, 2021
@benank benank self-assigned this Mar 19, 2021
@benank
Copy link
Member

benank commented Mar 19, 2021

Thanks! Yeah that's a great addition for the Player class.

@benank
Copy link
Member

benank commented Mar 19, 2021

Added!

@benank benank closed this as completed Mar 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fivem Bugs that relate to FiveM server Related to serverside stuff
Projects
None yet
Development

No branches or pull requests

2 participants