esx_addons_gcphone => in “server-data/resources/[ESX]”
In, your server.cfg, put before the jobs addons :
start gcphone
start esx_addons_gcphone
Like this :
# you probably don't want to change these!
# only change them if you're using a server with multiple network interfaces
####################### PORT DU SERVEUR
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
####################### CONFIG ES
set es_enableCustomData 1
####################### BASE DE DONNEES
set mysql_connection_string "server=localhost;database=essentialmode;userid=root;password=Saxophone21121993+"
####################### ES Base
start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2
####################### BASIC
start instance
start es_extended
start esx_voice
start esx_addons_gcphone
start gcphone
###### Jobs ######
start esx_service
start esx_mecanojob
start esx_lscustom
start esx_truckerjob
Im trying to translate this but i cannot translate everything from gcphone/html/static/config folder. Where do i translate the rest of things that are in french. Sorry for my bad english.
Hello,
last time I wanted to install gcphone, everything worked I could take the phone out of my pocket, but no apss was loaded and I didn’t know how and where to install the file src_htmlPhone. Can you help me out?
How could I set it up to have an area code like (657) 867-5555 in which the 657 doesnt change but the other 7 numbers do, Ive tried a few ways but they do not work.
Edit - I figured it out after a little more time if anyine else would like to do this here it is’
function getPhoneRandomNumber()
local numBase0 = '657' .. math.random(100,999)
local numBase1 = math.random(0,9999)
local num = string.format("%03d-%04d", numBase0, numBase1 )
return num
end
I just cant get Parenthesis or a dash so it shows like 657867-5555