Is there anyway to set default charset to utf-8?. I try to use some unique char such as: ư ơ ố
But when play inside the game it only show the square
Depends where you display it, i don’t think default gta ui components support weird characters but NUI probably does
Nui work well but with default gta ui it get square
Here the simple code i got from esx_ambulancejob to show the notification
ESX.ShowNotification(_U('combatlog_message'))
Is pNotify support it?
What is the string behind combatlog_message ?
Nothing behind `AddEventHandler(‘playerSpawned’, function()
IsDead = false
if FirstSpawn then
exports.spawnmanager:setAutoSpawn(false) -- disable respawn
FirstSpawn = false
ESX.TriggerServerCallback('esx_ambulancejob:getDeathStatus', function(isDead)
if isDead and Config.AntiCombatLog then
while not PlayerLoaded do
Citizen.Wait(1000)
end
ESX.ShowNotification(_U('combatlog_message'))
RemoveItemsAfterRPDeath()
end
end)
end
end)`
Sir. Do you have any solution to fix it?
I still don’t know what the translation of combatlog_message is, but if i remember correctly pNotify is NUI so it would work with unicode chars
im interested contact me discord Ghaazi#9147
i’m interest