Tonish
21
la cosa bella è che solo ora mi sono reso conto che sei italiano
facevamo meno fatica ad esprimerci
.
non ho capito, cosa non va adesso?
Alex10
22
non riesco ad aggiungere un icona a un lavoro preciso
Tonish
23
prova cosi’: sostituisci a questa linea qui sotto
local jobTpl = '<div>{{job_label}} - {{grade_label}}</div>'
con questa qui
local jobTpl = '<div>{{job_label}} - {{grade_label}}</div>'
if xPlayer.job.label == 'qui_devi_mettere_la_label_del_lavoro_che_vuoi' then
jobTpl = '<div>😀 - {{grade_label}}</div>'
end
al posto di ‘qui_devi_mettere_la_label_del_lavoro_che_vuoi’ devi mettere tipo o ‘unemployed’ oppure ‘police’ oppure ‘cardealer’ ecc ecc
Alex10
24
label intendi il nome o la variabile predefinita tipo (unemployed,police ecc)
the emoji is not showing up beacause you need to have a old version of mysql-async and the emoji need to be in the database in the job
So, English only forums means, please use english only.
If you want emojis to work from the data in the database, change the utf format the data is stored in.
Tonish
27
for label i mean the name of the label field (column) that you have in database for a job.
btw i think that @Twittchter solution in more correct.