Jump to content

Olá Tibiano! Notamos que você está com um adblocker ligado... 

Nós promovemos servidores dentro da comunidade, para que eles tenham visibilidade.

Por favor, nos ajude a continuar promovendo esses servidores. Adicione nosso domínio na whitelist de seu adblocker, ok? :)

NPCs, monsters e raids

Aqui há scripts de criaturas, NPCs e Raids.


Dica! Os posts abaixo contém apenas downloads

Se estiver procurando por tutoriais de scripting, acesse:

 

Caso queira suporte scripting, acesse:

 

Faça bom uso da seção! ~ Equipe Xtibia.com

1.086 topics in this forum

  1. Npc shop offline 1 2 3

    • 43 replies
    • 2.663 views
    • 30 replies
    • 14.786 views
  2. Npc - Conceito 1 2

    • 27 replies
    • 13.989 views
    • 1 reply
    • 403 views
    • 8 replies
    • 1.621 views
    • 21 replies
    • 982 views
    • 3 replies
    • 1.096 views
    • 17 replies
    • 2.614 views
    • 4 replies
    • 1.207 views
  3. statschange

    • 7 replies
    • 109 views
    • 0 replies
    • 51 views
    • 0 replies
    • 151 views
    • 5 replies
    • 341 views
  4. Utilidade pública

    • 7 replies
    • 364 views
    • 5 replies
    • 1.125 views
    • 2 replies
    • 194 views
    • 4 replies
    • 1.402 views
    • 73 replies
    • 7.544 views
    • 2 replies
    • 1.336 views
  5. Monstro que segue Waypoint

    • 0 replies
    • 279 views
    • 0 replies
    • 292 views
    • 4 replies
    • 1.014 views
    • 0 replies
    • 753 views
    • 0 replies
    • 436 views
    • 16 replies
    • 3.536 views
  • Recently Browsing   0 members

    No registered users viewing this page.



  • Popular Contributors

  • Topics

  • Últimos Posts

    • Cara C Tem Que Refazer o Script da Pokedex, e o Do Catch...        Please login or register to see this attachment.   Tenta ae, Se Nao For Fala...
    • Como Eu Compilo Um Cliente Otc ???   Meu Item Editor Tbm, Ta Meio bugado ele nao mostra a foto dos itens, e quando ponho extend ou transparente ele nao aparece o dat. spr...    Remeres Com Tapete Vermelho Resolvo Como????
    • Quero um Baiakinho upa um dessa mano :S  
    • function onUse(cid, item, fromPosition, itemEx, toPosition) local sBike = 12774 local t = { [12774] = {article='a', name='bike', text='Vou montar na bike!', dtext='Vou sair da bike!', s=5700, condition=bikeCondition, nonMoveable = 16232, movable = 12774 }, } local premium = false function BikeSpeedOn(cid,nSpeed) setPlayerStorageValue(cid,sBike,getCreatureSpeed(cid)) doChangeSpeed(cid,-getCreatureSpeed(cid)) doChangeSpeed(cid,nSpeed) end function BikeSpeedOff(cid) doChangeSpeed(cid,-getCreatureSpeed(cid)) doChangeSpeed(cid,getPlayerStorageValue(cid,sBike)) end if not isPremium(cid) then doPlayerSendCancel(cid, "Vc nao é premium, Vaza.") return true end local v, r = getCreaturePosition(cid), t[item.itemid] local s = r.s local pos = {x = v.x, y = v.y, z = v.z} if r then if getPlayerStorageValue(cid, 25000) == 5 then return end if getPlayerStorageValue(cid, 23000) == 5 then return end if not getPlayerItemCount(cid, item.itemid) then return false end if getPlayerStorageValue(cid, 17001) == 1 or getPlayerStorageValue(cid, 63215) == 1 or getPlayerStorageValue(cid, 17000) == 1 then doPlayerSendCancel(cid, "You can't use bike while ride/fly/surf.") return true end if getPlayerStorageValue(cid, s) <= 0 then doCreatureSay(cid, r.text, 19) setPlayerStorageValue(cid, s, 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Você montou na ' .. r.article .. ' '.. r.name .. '.') BikeSpeedOn(cid,1100) doTransformItem(itemEx,uid, r.nonMoveable) if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid, {lookType = 2518, lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) setPlayerStorageValue(cid, 7200, 1) else doSetCreatureOutfit(cid, {lookType = 2517, lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) setPlayerStorageValue(cid, 7200, 1) end elseif getPlayerStorageValue(cid, s) == 1 then doCreatureSay(cid, r.dtext, 19) setPlayerStorageValue(cid, s, 0) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Você saiu da ' .. r.article .. ' '.. r.name .. '.') BikeSpeedOff(cid) setPlayerStorageValue(cid, 7200, -1) doTransformItem(itemEx,uid, r.movable) return doRemoveCondition(cid, CONDITION_OUTFIT) else return doPlayerSendCancel(cid, 'You can\'t do this.') end else return doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE, 'Report bugs in Bike system.') end end Modifiquei umas linhas na Scripts do ceetros , assim deve funcionar
    • [18/09/2019 22:17:07] [Error - Action Interface]  [18/09/2019 22:17:07] datapack/actions/scripts/bike.lua:onUse [18/09/2019 22:17:07] Description:  [18/09/2019 22:17:07] (luaDoTransformItem) Item not found
×
×
  • Create New...