Server
PlayerIdentifier
Function to get player identifier by its string type with multiple options
Parameters description
playerId
- the player's server Ididentifier
- the identifier type Available types:'steam'
'license'
'license2'
'fivem'
'discord'
'live'
'xbl'
'ip'
'all'
- to get all the identifiers of the player (these above'all'
)string[]
- list of multiple identifiers types (from the ones above'all'
)removeNames
- sets whether or not the identifiers names before the identifier itself must be removedisArray
- sets whether or not the return value must be as an array or not
PlayerIdentifierByIndex
Function to get player identifier by its string type with multiple options
Parameters description
playerId
- the player's server Ididentifier
- the identifier type Available types:0-7
- the index is the identifier type's index'all'
- to get all the identifiers of the playerinteger[]
- list of multiple identifiers types (from 0 to 7 as an integer)removeNames
- sets whether or not the identifiers names before the identifier itself must be removedisArray
- sets whether or not the return value must be as an array or not
PlayerServerIdByIdentifier
Function to get the player server Id of the player which owns the given identifier (no matter which identifier you give as long as it exists for a player in the server)
Parameters description
identifier
- the identifier of the player you want to know the player server Id of
Return description
playerId
- contains the player's server Id if exists according to the identifier
Last updated