Help me with esx_gcphone

Hello,
so is there any way to add custom number format?

Thanks!

Yes, I believe so! So go to your code for the phone, then go to the phone script and there should be a text thing in there. If you’re script is different then there will be a text format code. That’s what I’ve seen. If I’m wrong I’m sorry.

DO you mean this code:
— Pour les numero du style XXX-XXXX

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

— Exemple pour les numero du style 06XXXXXXXX

– function getPhoneRandomNumber()

– return ‘0’ … math.random(600000000,699999999)

– end
btw what i need to do here?

Negative that’s not the right one, It should have a color thing in the code like #FFFFFF etc.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.