function AddTuLinhNpc()
local nNation =GetGlbValue(GLB_TSK_SERVER_ID)
local szName = "Top Server"
local nDate = tonumber(date("%Y%m%d"))
local nGroup = 2
--for i = 1, getn(tb_server_group) do
-- for j = 1, getn(tb_server_group[i]) do
-- if nNation == tb_server_group[i][j] then
-- nGroup = i
-- break
-- end
-- end
--end
--for i = 1, getn(TB_NATION_SERVERLIST) do
-- if nNation == TB_NATION_SERVERLIST[i][1] then
-- szName = TB_NATION_SERVERLIST[i][2]
-- break
-- end
--end
npcIndex = CreateNpc(tb_npc_type[nGroup], szName, 100, 1416, 2965)
AddUnitStates(npcIndex, 6, nGroup)
SetNpcScript(npcIndex, "\\script\\online\\viet_event\\tulinhthu_npc\\head.lua")
-- Add NPC dua top
--if tbNPC_TopServer[GetGlbValue(GLB_TSK_SERVER_ID)] ~= nil then
-- if nDate < tbNPC_TopServer[GetGlbValue(GLB_TSK_SERVER_ID)] then
npcIndex = CreateNpc(tb_npc_type[nGroup], szName, 200,1405,2840)
SetNpcScript(npcIndex, "\\script\\online\\viet_event\\top_server\\npc_top.lua")
-- end
--end
end