[Guide]fix print non-English text questionmark problem

It occur before the server was been loaded.
You can put a Wait(1) to make it print after Server Loaded.

AddEventHandler('onResourceStart', function(resourceName)
  if(GetCurrentResourceName() ~= resourceName) then
    return
  end
  local text = '載入名為' .. resourceName .. ' 的Server腳本'
  print(text)
end)

to

AddEventHandler('onResourceStart', function(resourceName)
  if(GetCurrentResourceName() ~= resourceName) then
    return
  end
  ---Put a Wait(1) to fix your print text with questionmark problem
Wait(1)
  local text= '載入名為' .. resourceName .. ' 的Server腳本'
  print(text)
end)
2 Likes