madness96
28-01-13, 04:43 PM
function main()
if vang() ~= nil then
Say("<color=green>Kú Tr©n C¸c : <color> HiÖn t¹i b¹n cã: <color=red>"..vang().."<color> vµng",8,
"VËt phÈm event/event",
"VËt phÈm míi nhÊt/newitem",
"N¹p thÎ/napthe",
"VËt phÈm /vatpham",
"Mua bÝ kiÕp /muabk",
"Thó cìi 8x /thucuoi",
"Th«ng tin vËt phÈm /xemitem",
“Kim Nguyen Bao/knb”,
"Tho¸t/no")
else
Say("<color=green>Kú Tr©n C¸c : <color> HiÖn t¹i b¹n cã <color=red>0<color> vµng",3,
"N¹p thÎ/napthe",
"Xem th«ng tin b¸n /xemitem",
"Tho¸t./no")
end
end
function knb()
xu = vang()
if (xu >= 50) then
truvang(50)
if (vang() == (xu-50)) then
AddEventItem(226)
Msg2Player("B¹n nhËn ®îc 1 Vien Nguyen Bao ")
Talk(0,"no","")
else
Talk(1,"no","Hack a cung yeu")
end
else
Talk(1,"no","<color=red>Kim Nguyen Bao<color> Gi¸ 50 vµng/1 Vien")
end
end
if vang() ~= nil then
Say("<color=green>Kú Tr©n C¸c : <color> HiÖn t¹i b¹n cã: <color=red>"..vang().."<color> vµng",8,
"VËt phÈm event/event",
"VËt phÈm míi nhÊt/newitem",
"N¹p thÎ/napthe",
"VËt phÈm /vatpham",
"Mua bÝ kiÕp /muabk",
"Thó cìi 8x /thucuoi",
"Th«ng tin vËt phÈm /xemitem",
“Kim Nguyen Bao/knb”,
"Tho¸t/no")
else
Say("<color=green>Kú Tr©n C¸c : <color> HiÖn t¹i b¹n cã <color=red>0<color> vµng",3,
"N¹p thÎ/napthe",
"Xem th«ng tin b¸n /xemitem",
"Tho¸t./no")
end
end
function knb()
xu = vang()
if (xu >= 50) then
truvang(50)
if (vang() == (xu-50)) then
AddEventItem(226)
Msg2Player("B¹n nhËn ®îc 1 Vien Nguyen Bao ")
Talk(0,"no","")
else
Talk(1,"no","Hack a cung yeu")
end
else
Talk(1,"no","<color=red>Kim Nguyen Bao<color> Gi¸ 50 vµng/1 Vien")
end
end