Open Mane48 opened 3 years ago
server.lua: add this inplace of youre code,
--function getPhoneRandomNumber()
-- local numBase0 = math.random(100,999)
-- local numBase1 = math.random(0,9999)
-- local num = string.format("%03d-%04d", numBase0, numBase1)
-- return num
--end
function getPhoneRandomNumber()
return '0' .. math.random(600000000,699999999)
end
it generate a 06 number with 10 digits hope it helps.
Hi :D
Is there a way I can allow parentheses in this section of the phone?
I have a area code set in the register phone so it would say something like : (213)-rand-rand But when calling I cant place all those numbers... In this part it does not allow me to set more than 10 digits, how can I change this?