-
Total de itens
3406 -
Registro em
-
Última visita
-
Dias Ganhos
113
Tudo que Vodkart postou
-
tava falando com o "souronaldo2"
-
aprendeu a colocar o [/.b] nas msg
-
function onUse(cid, item, frompos, item2, topos) local storage = 60000 if getPlayerStorageValue(cid,storage) >= 1 then return doPlayerSendTextMessage(cid,22,"O baú está vazio.") end doPlayerSendTextMessage(cid,22,"Você achou 2 kk") doPlayerAddItem(cid,2160,100) doPlayerAddItem(cid,2160,100) setPlayerStorageValue(cid,storage,1) return true end
-
http://www.xtibia.com/forum/topic/153446-death-cast/
-
Reportado por me reportar. Reportado por me reportar por ter te reportado.
-
:lolsuper: :lolsuper: defensor dos fracos e oprimidos -q
-
reportado por ofensas,se não sabe brincar não brinca,acha que todo mundo é seu amiguinho pra xingar assim? da licença mané
-
@UP CTRL C CTRL V SAFADO @TOPIC VI ELE POR AQUI ESSES DIAS POR AQUI...ENTRO NO MEU QUARTO E FEZ UM CHARMINHO COM AQUELA BUNDA DURINHA DELE E SAIU PRA NEIGTH
-
larga a mão de serem malandros seus ótarios,quem faz os npc tem mais trabalho que vocês,e nem se quer procuram? da licença né,criem vergonha na cara e vão fazer a parte de vocês! http://www.xtibia.com/forum/forum/376-npcs-monsters-raids/
-
você conjuga muito o verbo lutar,deixando o texto chato e repetitivo... fala tanto em luta que parece o goku :lolsuper:
-
talkaction [Talkaction] Comprando Summon
tópico respondeu ao Demonbholder de Vodkart em Actions e Talkactions
Só não entendi o uso de 2 tabelas para o script demonzinho caolho ): se você usar in pairs você faz sóv com uma abraços -
buymount.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function AddMount(cid, message, keywords, parameters, node) --by vodka if(not npcHandler:isFocused(cid)) then return false end if parameters.premium == true and not isPremium(cid) then return true,npcHandler:say('Sorry,Only premium members buy this mount!', cid) elseif not doPlayerRemoveMoney(cid, parameters.price) then return true,npcHandler:say('Sorry You need '..parameters.price..' gps to buy this mount!', cid) end doPlayerAddMount(cid, parameters.mount) npcHandler:say('Here is your mount!', cid) npcHandler:resetNpc() return true end keywordHandler:addKeyword({'mounts'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell these mounts: {widow queen},{racing bird},{war Bear},{black sheep},{midnight panther},{draptor},{titanica},{tin lizzard}.{blazebringer},{rapid boar},{stampor} or {undead cavebear}!'}) local node1 = keywordHandler:addKeyword({'widow queen'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount widow queen?'}) node1:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 1,premium = false}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node2 = keywordHandler:addKeyword({'racing bird'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount racing bird'}) node2:addChildKeyword({'yes'}, AddMount, {price = 20000,mount = 2,premium = true}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node3 = keywordHandler:addKeyword({'war bear'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount war Bear'}) node3:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 3,premium = false}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node4 = keywordHandler:addKeyword({'black sheep'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount black sheep?'}) node4:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 4,premium = false}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node5 = keywordHandler:addKeyword({'midnight panther'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount midnight panther?'}) node5:addChildKeyword({'yes'}, AddMount, {price = 20000,mount = 5,premium = true}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node6 = keywordHandler:addKeyword({'draptor'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount draptor?'}) node6:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 6,premium = true}) node6:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node7 = keywordHandler:addKeyword({'titanica'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount titanica?'}) node7:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 7,premium = true}) node7:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node8 = keywordHandler:addKeyword({'tin lizzard'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount tin lizzard?'}) node8:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 8,premium = true}) node8:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node9 = keywordHandler:addKeyword({'blazebringer'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount blazebringer?'}) node9:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 9,premium = true}) node9:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node10 = keywordHandler:addKeyword({'rapid boar'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount rapid boar?'}) node10:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 10,premium = false}) node10:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node11 = keywordHandler:addKeyword({'stampor'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount stampor?'}) node11:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 11,premium = true}) node11:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) local node12 = keywordHandler:addKeyword({'undead cavebear'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount undead cavebear?'}) node12:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 12,premium = true}) node12:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true}) npcHandler:addModule(FocusModule:new()) Mount Seller.xml <?xml version="1.0"?> <npc name="Mount Seller" script="data/npc/scripts/buymount.lua" walkinterval="50000" floorchange="0"> <health now="100" max="100"/> <look type="129" head="95" body="116" legs="121" feet="115" addons="3"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|.I have many {mounts} to sell for you!" /> </parameters> </npc> OBS: FODA-SE O REP
-
action [Action] Recarregando Soft E Firewalker
tópico respondeu ao Kimoszin de Vodkart em Actions e Talkactions
rep + -
action [Action] Recarregando Soft E Firewalker
tópico respondeu ao Kimoszin de Vodkart em Actions e Talkactions
-
Matar Monstro Abrir Tp, Remover Parede, Ganhar Storage
tópico respondeu ao Vodkart de Vodkart em Globalevents e Spells
@UP function onDeath(cid, corpse, killer) local monstName,time = "Rat",10 local B = { [1] = {1058,{x=173, y=40, z=7, stackpos = 1}}, [2] = {1058,{x=175, y=40, z=7, stackpos = 1}}, [3] = {1058,{x=177, y=40, z=7, stackpos = 1}}, } function doCreateItens() for i = 1, #B do doCreateItem(B[i][1], 1, B[i][2]) end end if isMonster(cid) then if string.lower(getCreatureName(cid)) == string.lower(monstName) then for i = 1, #B do doRemoveItem(getThingfromPos(B[i][2]).uid,1) end doCreatureSay(cid, "As paredes Seram criadas Novamente em "..time.." segundos.", TALKTYPE_ORANGE_1) addEvent(doCreateItens,time*1000) end end return TRUE end explicação: local monstName,time = "Rat",10 é o nome do monstro,segundos em que a parede sera criada novamente [1] = {1058,{x=173, y=40, z=7, stackpos = 1}}, 1058 é o id da parede,(troque para o id da sua parede) {x=173, y=40, z=7, stackpos = 1} é a pos da parede -
Não entendi,você quer colocar somente para black skull ou somente para red skull? porque se não for nenhum desses 2 já existe o aol e não teria porque usar o script né meu querido
-
obvio né cara,ele pediu um para add premium e não retirar,nunca que iria deletar premium usando aquele script. talkactions/script premium_system.lua function onSay(cid, words, param) if(words == "/addpremium") then local t = string.explode(param, ",") local player = getPlayerByNameWildcard(t[1]) local premiumdays = tonumber(t[2]) if (not t[1]) then doPlayerSendCancel(cid, "You must fill with a player name.") elseif (premiumdays < 0) then doPlayerAddPremiumDays(player, premiumdays) doPlayerSendTextMessage(cid,22,"You have removed " .. t[2] .. " premium days from " .. player .. ".") doPlayerSendTextMessage(player,25,"You have lost " .. t[2] .. " premium days.") elseif (premiumdays >= 1 and premiumdays < 150) then doPlayerAddPremiumDays(player, premiumdays) doPlayerSendTextMessage(cid,22,"You have added " .. premiumdays .. " premium days from " .. getCreatureName(player) .. ".") doPlayerSendTextMessage(player,25,"You received " .. premiumdays .. " premium days.") end elseif(words == "/delpremium") then local t = string.explode(param, ",") if not t[2] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(t[1]) local quanty = t[2] local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerAccess(pid) > getPlayerAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end doPlayerAddPremiumDays(player, -quanty) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você Removeu "..quanty.." dias de premium do jogador " .. t[1] .. ".") elseif(words == "/checkpremium") then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerAccess(pid) > getPlayerAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end local quantity = math.floor(getPlayerPremiumDays(player)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "O jogador tem ".. (quantity < 0 and 0 or quantity) .." dias de premium no character.") end return TRUE end talkactions.xml <talkaction log="yes" access="5" words="/addpremium;/delpremium;/checkpremium" event="script" value="premium_system.lua"/>
-
coloca o script
-
de que planeta vc veio? falo tudo errado mano uhauahauahuahauhauauaa reportado para moverem
-
function onSay(cid, words, param) local sex = { [0] = {136, 137, 138, 139, 140, 141, 142, 147, 148, 149, 150, 155, 156, 157, 158, 252, 269, 270, 279, 288, 324, 329, 336, 366}, -- outfits female [1] = {128, 129, 130, 131, 132, 133, 134, 143, 144, 145, 146, 151, 152, 153, 154, 251, 268, 273, 278, 289, 325, 328, 335, 367} -- oufits male } local e = sex[getPlayerSex(cid)] if doPlayerRemoveItem(cid, 2112, 1) then for k,v in pairs(e) do doPlayerAddOutfit(cid, v,3) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "vc nao tem um doll") end return TRUE end
-
http://www.xtibia.com/forum/topic/133412-red-skull-amulet/
-
Acho que alguem não leu o tópico hein
-
é em Movements/script
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.