☎️ Sim Cards
RecoverSimCard
lua---Recover a Sim Card on a new phone(when stolen, lost). ---Note: The old phone's sim card will be changed. ---@param phoneImei number The imei of the phone that you want to recover the number to. ---@param simNumber number The sim number that you want to assign to the phone. exports.yseries:RecoverSimCard(phoneImei, simNumber)
ChangePhoneNumber
lua---Change the Sim Card number for a given phone. ---The new number MUST match the phone number generation in config. ---@param phoneImei number The imei of the phone that you want to change the number. ---@param simNumber number The new sim number. exports.yseries:ChangePhoneNumber(phoneImei, simNumber)
GeneratePhoneNumber
lua---Use this export to generate a phone number based on the config. ---@return string - The generated phone number. exports.yseries:GeneratePhoneNumber()
CreateSimCard
lua--- Creates a new SIM card with the provided number or generates a random one --- @param source number The source ID of the player --- @param simNumber string|nil Optional SIM number to use. If not provided, a random one will be generated --- @return boolean success Whether the SIM card was successfully created exports.yseries:CreateSimCard(source, simNumber)