O script tava jogado aki no ot entao ta aew '-'
function onSay(cid, words, param, channel)
local t = param:explode(",")
local name, days = t[1], tonumber(t[2])
if name then
if days then
local acc = getAccountIdByName(name)
if acc ~= 0 then
local tempo = days * 24 * 3600
doAddAccountBanishment(acc, target, os.time() + tempo, 5, 2, 'You are Banned.', 0)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "This player not exist.")
end
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Not allowed for dias of banishment.")
end
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "This player not exist.")
end
return true
end


info
Grupo: Visconde
Registrado: 11/12/07
Posts: 332
Reputação: +11
Oi Galera, to com um ot 8.7 , a mizeria do ot naum tem a parada de banir o char pelo report violation acho que e isso algo assim, i naum tem comando de dar ban tbm.
alguem sabe um ai , ou poderia me fornecer ? Vlws.