πŸ†”Identify Player

Get player source id by phone number, phone imei or identifier(citizen id).

GetPlayerSourceIdByPhoneNumber

---@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

---@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

---@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(phoneNumber)

Get phone number by player source id, phone imei or identifier(citizen id).

GetPhoneNumberByIdentifier

---@param identifier string The identifier of the player(citizenid, identifier)
---@return string The phone number of the player
exports.yseries:GetPhoneNumberByIdentifier(phoneNumber)

GetPhoneNumberByImei

---@param identifier string The imei of the phone
---@return string The phone number of the player
exports.yseries:GetPhoneNumberByImei(phoneNumber)

GetPhoneNumberBySourceId

---@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

---@param phoneNumber string The phone number of the target phone
---@return string The imei of the phone
exports.yseries:GetPhoneImeiByPhoneNumber(phoneNumber)

GetPhoneImeiByIdentifier

---@param identifier string The identifier of the target player's phone
---@return string The imei of the phone
exports.yseries:GetPhoneImeiByIdentifier(phoneNumber)

GetPhoneImeiBySourceId

---@param source number The player id
---@return string The imei of the phone
exports.yseries:GetPhoneImeiBySourceId(source)

Last updated