CitarcheckEvent = nil function onCombat(cid, target) if not isPlayer(target) then return true end local targets = getMonsterTargetList(cid) if getPlayerGuildId(target) == getGlobalStorageValue(123123) then checkEvent = addEvent(check, 1000, cid, targets) return false end return true end function check(cid, targets) for _, targetCid in pairs(targets) do if isCreature(targetCid) and getPlayerGuildId(targetCid) == getGlobalStorageValue(123123) then checkEvent = addEvent(check,1000,cid,targets) return false else stopEvent(checkEvent) checkEvent = nil return true end end end





info
Grupo: Visconde
Registrado: 24/11/12
Posts: 474
Reputação: +98
Gênero: Masculino
O problema no meu ot é que quando os jogadores que estao com a storage do do guard (que é para nao atacar os player que tem a storage) deslogam ou morre... o serve todo trava e da esse erro na distro:
Alguém ajuda pfv
Editado Março 26 por AdilsonHacker