accId? onde ta registrado isso?
tenta
getPlayerAccountId(cid)
Posta o script todo pq quem é "lenght"? ele que ta multiplicando mais qual o valor dele?
local accId = getAccountIdByName(getPlayerName(cid))local lenght = 24local comment = ""function onDeath(cid)if not isCreature(cid) then return true enddoAddBanishment(accId, lenght * 3600, 23, ACTION_BANISHMENT, comment, getPlayerGUID(cid), comment)return trueend