🆔 Identify Player
Get player source id by phone number, phone imei or identifier(citizen id).
GetPlayerSourceIdByPhoneNumber
lua---@return string The source id of the player by phone number. Phone must be set as primary phone in the databse(e.g. last used phone) exports.yseries:GetPlayerSourceIdByPhoneNumber(phoneNumber)
GetPlayerSourceIdByPhoneImei
lua---@return string The source id of the player by phone imei. Phone must be set as primary phone in the databse(e.g. last used phone) exports.yseries:GetPlayerSourceIdByPhoneImei(phoneImei)
GetPlayerSourceIdByIdentifier
lua---@return string The source id of the player by identifier(citizen id). Phone must be set as primary phone in the databse(e.g. last used phone) exports.yseries:GetPlayerSourceIdByIdentifier(identifier)
Get phone number by player source id, phone imei or identifier(citizen id).
GetPhoneNumberByIdentifier
lua---@param identifier string The identifier of the player(citizenid, identifier) ---@return string The phone number of the player exports.yseries:GetPhoneNumberByIdentifier(identifier)
GetPhoneNumberByImei
lua---@param identifier string The imei of the phone ---@return string The phone number of the player exports.yseries:GetPhoneNumberByImei(phoneImei)
GetPhoneNumberBySourceId
lua---@param number string The player id ---@return number The phone number of the player exports.yseries:GetPhoneNumberBySourceId(source)
Get phone imei by player source id, phone number or identifier(citizen id).
GetPhoneImeiByPhoneNumber
lua---@param phoneNumber string The phone number of the target phone ---@return string The imei of the phone exports.yseries:GetPhoneImeiByPhoneNumber(phoneNumber)
GetPhoneImeiByIdentifier
lua---@param identifier string The identifier of the target player's phone ---@return string The imei of the phone exports.yseries:GetPhoneImeiByIdentifier(identifier)
GetPhoneImeiBySourceId
lua---@param source number The player id ---@return string The imei of the phone exports.yseries:GetPhoneImeiBySourceId(source)