Ir para conteúdo
Propaganda

Garden

Membro
  • Total de Posts

    1
  • Registro em

  • Última visita

Tudo que Garden postou

  1. Tente assim: local config = { storageDelay = 19290, -- storage q salva o delay delay = 10, -- tempo em segundos de delay pos = {x=1054, y=1050, z=7}, -- pos para onde sera teleportado } function onSay(cid, words, param) if getPlayerStorageValue(cid, 6598754) >= 0 or getPlayerStorageValue(cid, 6598755) >= 0 then doPlayerSendCancel(cid, "Tentando bugar ne?!") return true end local creaturePos = getCreaturePosition(cid) if getPlayerStorageValue(cid, config.storageDelay) - os.time() <= 0 then setPlayerStorageValue(cid, config.storageDelay, os.time() + config.delay) doPlayerSendCancel(cid, "Teleportado para Saffron!") doSendMagicEffect(creaturePos, 19) doSendAnimatedText(creaturePos, "PUFFF!", math.random(1, 255)) doTeleportThing(cid, config.pos) doSendMagicEffect(config.pos, 16) else doSendMagicEffect(creaturePos, CONST_ME_POFF) doPlayerSendCancel(cid, "You are exhausted.") end return true end
×
  • Criar Novo...