Vlw novamente mano, agora eu to com um problema grave, quando o player morrer não aparece a morte, nem na database nem no site ;/
e como resolvo esse erro, ta dando na talkactions das mounts
[13:34:33.428] > Loading talkactions... [Error - LuaInterface::loadFile] data/talkactions/scripts/mount.lua:3: unexpected symbol near '['
[13:34:33.428] [Error - Event::checkScript] Cannot load script (data/talkactions/scripts/mount.lua)
[13:34:33.428] data/talkactions/scripts/mount.lua:3: unexpected symbol near '['
[13:34:33.499] done.
[13:34:43.705] > Loading movements... done.
o script da mount
function onSay(cid, words, param)
local table = {
["widow queen"] = {price = 0, id = 1},
["racing bird"] = {price = 0, id = 2},
["war bear"] = {price = 0, id = 3},
["black sheep"] = {price = 0, id = 4},
["midnight panther"] = {price = 0, id = 5},
["draptor"] = {price = 0, id = 6},
["titanica"] = {price = 0, id = 7},
["tin lizzard"] = {price = 0, id = 8},
["blazebringer"] = {price = 0, id = 9},
["rapid boar"] = {price = 0, id = 10},
["stampor"] = {price = 0, id = 11},
["undead cavebear"] = {price = 0, id = 12},
["donkey"] = {price = 0, id = 13},
["tiger slug"] = {price = 0, id = 14},
["uniwheel"] = {price = 0, id = 15},
["crystal wolf"] = {price = 0, id = 16},
["war horse"] = {price = 0, id = 17},
["kingly deer"] = {price = 0, id = 18},
["tamed panda"] = {price = 0, id = 19},
["dromedary"] = {price = 0, id = 20},
["sandstone scorpion"] = {price = 0, id = 21},
["rented horse"] = {price = 0, id = 22},
["fire war horse"] = {price = 0, id = 23},
["shadow draptor"] = {price = 0, id = 24}
["rented horse"] = {price = 0, id = 25},
["rented horse"] = {price = 0, id = 26},
["ladybug"] = {price = 0, id = 27},
["manta ray"] = {price = 0, id = 28}
}
local msg = {"You have to choice one: donkey,manta ray,ladybug,rented horse,shadow draptor,fire war horse,rented horse,sandstone scorpion,dromedary,tamed panda,kingly deer,crystal wolf,war horse,uniwheel,tiger slug,widow queen,racing bird,war bear,black sheep,midnight panther,draptor,titanica,tin lizzard,blazebringer,rapid boar,stampor,undead cavebear", "You dont have Mount Doll..", "Not A Good Param..", "Full Mount Set sucesfully added..","You already got this mount"}
local param = string.lower(param)
local t = table[param]
if(getPlayerItemCount(cid, 16107) > 0) then
if(param ~= "" and t) then
if t and not getPlayerMount(cid, t.id) then
doPlayerRemoveItem(cid, 16107, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4])
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
doPlayerAddMount(cid, t.id)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[5])
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1])
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2])
end
end



info
Grupo: Artesão
Registrado: 03/02/09
Posts: 134
Reputação: +15
Char no Tibia: Knight sparxzin
aqui tem.. http://www.xtibia.com/forum/topic/165796-bank-system-d/