Documentation
  • 📄TeamsGG Documentation
    • Common Errors
  • Paid Scripts
    • 📱Phone
      • 🧠Installation
      • 🦄Unique phones
      • 💿Configure
        • 💄Additional Features
        • 📸Camera
        • 🍏Apps
        • 🪵Logs
        • 🖼️Media Customization
        • 🗣️Multi-Language Support
        • 🗃️SIM Cards
        • 🚗Valet System
      • ⏭️Exports
        • Client side
          • 👁️‍🗨️General
          • ☀️Groups
          • 🏢Companies
          • 🔧Misc
        • Server side
          • 🆔Identify Player
          • ☎️Sim Cards
          • ☀️Groups
          • 🌐Cell Broadcast
          • 💸YPay
          • 📧Mail
          • 📪Notifications
          • 📵Screen Damage
          • 🔧Misc
      • 🪛Commands
      • 🍎Custom apps
    • ☎️Boomer Phone
      • 🧠Installation
      • 🦄Unique phones
      • ⏯️Exports
        • Client side
    • 🏠Properties
      • 🧠Installation
      • 💿Configure
      • 🐚Add More Shells
      • ⏭️Exports
        • Client side
          • GetCurrentPropertyId
          • GetCurrentProperty
          • IsPointInsideProperty
          • OpenPropertyMenu
          • AddKey
          • RemoveKey
          • SetWaypointToProperty
          • GetAllProperties
          • GetKeyHolders
          • PoliceRaidDoor
        • Server side
          • GetAllProperties
          • AddKey
          • RemoveKey
          • ToggleDoorlock
          • GetPlayersInProperty
          • GetKeyHolders
          • DeleteProperty
          • AddStarterApartment
      • 👜State bags
    • 🏦Banking
      • 🧠Installation
      • ⏯️Exports
        • Client side
        • Server side
    • 💸Billing
      • 🧠Installation
      • ⏭️Exports
        • Client side
        • Server side
    • 📊Hud
      • 🧠Installation
      • ⏭️Exports
        • Client side
    • 📦Storage Units
      • 🧠Installation
Powered by GitBook
On this page
  • GetPlayerSourceIdByPhoneNumber
  • GetPlayerSourceIdByPhoneImei
  • GetPlayerSourceIdByIdentifier
  • GetPhoneNumberByIdentifier
  • GetPhoneNumberByImei
  • GetPhoneNumberBySourceId
  • GetPhoneImeiByPhoneNumber
  • GetPhoneImeiByIdentifier
  • GetPhoneImeiBySourceId
  1. Paid Scripts
  2. Phone
  3. Exports
  4. Server side

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)
PreviousServer sideNextSim Cards

Last updated 3 days ago

📱
⏭️
🆔