Ir para conteúdo

Skyforever

Membro
  • Registro em

  • Última visita

Tudo que Skyforever postou

  1. SKY GRANOLA
  2. kl bok gordo virgi
  3. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    NGM VAII ENVADI O SITE DO SKY PQ TEM MEDO DO DONO DLE SKYDANGEROUS HACKER/NUKADO
  4. Fala por experiência própria?.
  5. SKYGAY
  6. fala emverdi function onSay(cid, words, param) if param then broadcastMessage(getCreatureName .. ": ".. param, 25) end return true end <talkaction log="yes" words="/tav" access="3" event="script" value="tav.lua"/> staffroom function onSay(cid, words, param) local staffRoomPos = {x = x, y = y, z = z} if not getCreatureCondition(cid, CONDITION_INFIGHT) then doTeleportThing(cid, staffRoomPos, true) end return true end <talkaction log="yes" words="/staffroom" access="3" event="script" value="staffroom.lua"/>
  7. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Pô cara na imagem 3 a vampira tem um par de belos olhos peitauns,.
  8. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Então annemota = annegao
  9. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Pô cara eu acho que mas se isso teria que tambem :s
  10. for i = 60, 1, -1 do print(i) end
  11. Skyforever postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Tipo: Função. Autor: Euzinho. @Quem tá na 7º ~8º série já deve saber oque é potência então nem vou explica oque ela faz. function math.pot(n, pot) local val = n for i = 1, pot - 1 do val = val * n end return val end
  12. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    ANEGAO NERVOSA, FUJAM PRAS COLINAS
  13. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    -999 REP MENTAL E BANIDO MENTALMENTE.
  14. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    PM PRAQ
  15. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    PSE VAI Q O FIM DO MUNDO SEJA 23:00 DE HJ COM O HORARIO DO FORUM ATRASADO AGENT VAI MURRE 1 HR ANTS Q PENA
  16. Está ótimo para um iniciante mas não é necessário remover dinheiro(minha opnião) removendo o item já está bom. function onUse(cid, item) local T = { [50] = {item_id = 2160, quant = 10, msg = "CRYSTAL"}, [10] = {item_id = 2160, quant = 100, msg = "CRYSTAL"}, [1] = {item_id = 2160, quant = 1000, msg = "CRYSTAL"}, } for k, v in pairs(T) do if math.random(1, 100) < k then doPlayerAddItem(cid, v.item_id, v.quant) doSendMagicEffect(getThingPos(cid), math.random(28, 30)) doSendAnimatedText(getThingPos(cid), v.msg, math.random(1, 255)) doPlayerSendTextMessage(cid, 27, "You win " .. v.quant .. "x " .. getItemNameById(v.item_id) .. ".") else doPlayerSendCancel(cid, "You win nothing.") break end end doRemoveItem(item.uid, 1) return true end
  17. Eu cheguei em 1º
  18. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    TIPO ERA UMA X Q UNS CARA MT LOCO LA INVETO ESSE HORARIO POR CASAU DE UNS BAGUI DAFICO ASSIM SOQ JA ACABO E N MUDARAM
  19. AH

    Skyforever postou uma resposta no tópico em Playground (Off-topic)
    SE JA N TINHA SAIDO DO FORUM SEU GORDO, ENTALO NA SAIDA FOI?
  20. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    O HORÁRIO DO FÓRUM JÁ ACABO O HORÁRIO DE VERÃO SE VOCÊS NÃO PERCEBERAM AINDA
  21. AH

    Skyforever postou uma resposta no tópico em Playground (Off-topic)
    LELEK LEK LEK LEK LEK GIRANDO GIRANDO PRUM LADO GIRANDO GIRANDO PRO OUTRO
  22. Abs

    Skyforever postou uma resposta no tópico em Playground (Off-topic)
    ALELUIAALELUIAAAALEUIAAAAAAAAAAALELUIAAAAALELUIAAAAALELUIAAAAAAAAAAAAAAAAAAAAA
  23. Olha cara eu acho que...
  24. essa ninina e safada, deve brinca de dj toda hr.
  25. Tipo: Talkaction. Testado: Não. Breve explicação É uma talkaction, que serve para que quando você está morrendo você use ela, e então quando você morrer, você fala !return, e volta para aonde você morreu ou salvou, é simples assim. Fácil configuração ​ Primeiro vá em data depois em lib e em seguida na pasta 050-FUNCTION então adicione isso lá: MAIN_CONFIG = { POSITION_STORAGE_X = 10090, POSITION_STORAGE_Y = 10091, POSITION_STORAGE_Z = 10092, STORAGE_CHECK = 10093, STORAGE_TIME = 10094, MESSAGE_WAIT = "You need wait " .. getPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_TIME) - os.time() .. " seconds.", MESSAGE_SAVE = "You sucefully save your position, if your down say !return.", MESSAGE_RETURNING = "You has been teleported for you save position", MESSAGE_BATTLE = "?", MESSAGE_PROTECTION = "?", MESSAGE_USING = "?", } e isso também: function resetStatusInTime(cid) local P_ID = getPlayerGUID(cid) local PLAYER = getPlayerByGUID(P_ID) addEvent(function() if isCreature(PLAYER) then setPlayerStorageValue(PLAYER, MAIN_CONFIG.STORAGE_TIME, 0) setPlayerStorageValue(PLAYER, MAIN_CONFIG.STORAGE_CHECK, 0) else db.executeQuery("DELETE FROM `player_storage` WHERE `key` = 10093 AND `player_id` = " .. getPlayerGUID(PLAYER) .. ";") db.executeQuery("DELETE FROM `player_storage` WHERE `key` = 10094 AND `player_id` = " .. getPlayerGUID(PLAYER) .. ";") end end, 360 * 1000) end Não mecha em nada que não tenha MESSAGE agora vá na pasta talkactions crie 2 arquivos um chamado returnPos e coloque isso dentro: function onSay(cid, words, param, channel) local RETURN_PLAYER_POS = {x = getPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_X), y = getPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_Y), z = getPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_Z)} if getPlayerStorageValue(cid, MAIN_CONFIG,STORAGE_CHECK) > 0 then if getCreatureCondition(cid, CONDITION_INFIGHT) then if getTileInfo(getThingPos(cid)).pz then doTeleportThing(cid, RETURN_PLAYER_POS) doPlayerSendTextMessage(cid, 27, MAIN_CONFIG.MESSAGE_RETURNING) setPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_X, 0) setPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_Y, 0) setPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_Z, 0) setPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_CHECK, 0) setPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_TIME, 0) else doPlayerSendCancel(cid, MAIN_CONFIG.MESSAGE_PROTECTION) end else doPlayerSendCancel(cid, MAIN_CONFIG.MESSAGE_BATTLE) end end return true end e o outro savePos e coloque isso dentro: function onSay(cid, words, param, channel) if getPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_TIME) <= os.time() then if getPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_CHECK) <= 0 then setPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_X, getThingPos(cid).x) setPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_Y, getThingPos(cid).y) setPlayerStorageValue(cid, MAIN_CONFIG.POSITION_STORAGE_Z, getThingPos(cid).z) doPlayerSendTextMessage(cid, 27, MAIN_CONFIG.MESSAGE_SAVE .. "You have 360 seconds for this.") doSendMagicEffect(getThingPos(cid), 28) setPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_CHECK, 1) setPlayerStorageValue(cid, MAIN_CONFIG.STORAGE_TIME, os.time() + 360) resetStatusInTime(cid) else doPlayerSendCancel(cid, MAIN_CONFIG.MESSAGE_USING) end else doPlayerSendCancel(cid, MAIN_CONFIG.MESSAGE_WAIT) end return true end qlr erro posta ai, fiz rapido o script e o topico tbm, ent vlw flws, se ti tbm sapora ai foi mals, vlw flws, ta lgd, flws e vlw.

Informação Importante

Confirmação de Termo