Cara.. Como tu ajudo os Loko a Faze o Script se tu nao sabe nem colocar isso..
Tente assim Olha..
-- [( XTibia Script By AntiemoXml, Doidin, Vodkart and Dean )] --
-- [(Update By: DevilMoon )] --
function onSay(cid, words, param, channel)
local Monster = doSummonCreature("Horse", getCreaturePosition(cid))
local speed = 700
local outfit = {lookType = 327}
local MaximoSummon = 1
if (param == "go") then
local summons = getCreatureSummons(cid)
if(table.maxn(summons) < MaximoSummon)
doConvinceCreature(cid, Monster)
doSendMagicEffect(getCreaturePosition(cid), 44)
else
doPlayerSendCancel(cid, "Sorry, you can summon only "..MaxSummon.." monster.")
end
return TRUE
end
elseif (param == "hide") then
if(table.maxn(summons) < MaximoSummon) then
doConvinceCreature(cid, Monster)
doChangeSpeed(cid, -speed)
doRemoveCondition(cid, 2)
return TRUE
end
elseif (param == "mount") then
if(table.maxn(summons) < MaximoSummon) then
doRemoveCreature(pid)
doSetCreatureOutfit(cid, outfit, 60 * 600 * 1000000)
doChangeSpeed(cid, speed)
else
doPlayerSendCancel(cid, "Sorry, you can summon only "..MaxSummon.." monster.")
return TRUE
end
elseif param == "bye" then
doRemoveCreature(pid)
doChangeSpeed(cid, -speed)
return TRUE
end
Vou ter que dar uma Saidinha, Nao testei dps vejo e faço a correçao..
Abraços..