-
Total de itens
53 -
Registro em
-
Última visita
Tudo que bonazza20 postou
-
talkaction [Talkaction] Quiz System 4Fun
tópico respondeu ao Saymon14 de bonazza20 em Actions e Talkactions
mto bacana esse sistema,só que de vez de perguntas sobre conhecimento gerais eu colocaria com base nisso perguntas sobre quest dos servidores,monstros etc... Mto bom cara abraços REP++ -
Não vai funcionar velho,olha essa parte,de vez de "cid" você está usando "pid" e nem identifico o pid... doCreatureAddHealth(pid,999999999) doPlayerAddMana(pid,999999999)
-
Item Ou Potion De Double Exp.
tópico respondeu ao MatheusGlad de bonazza20 em Mods, funções e outros
coloca nessa linha 60: time = 60, ---- TIME IN MINUTES -
Quando Vip Acabar,ser Teleportado Para O Templo
tópico respondeu ao Vodkart de bonazza20 em Globalevents e Spells
que eu saiba é só uma vez,quando acabar a vip do jogador ele vai pro templo e pronto -
@UP deve ter sim,ze fizeram com o sistema vip do vodkart acho que tem como fazer com a premium account...
-
tenta assim: <?xml version="1.0"?> <npc name="Npc Vip" script="data/npc/scripts/vip.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150"/> <look type="134" head="114" body="71" legs="114" feet="114" addons="3"/> <parameters> <parameter key="message_greet" value="Olá! Eu vendo items VIP, diga {trade} para poder compralos."/> </parameters> </npc>
-
ok...: talkactions: -- Script SYtem vip 1.0 -- -- By Vodkart -- function onSay(cid, words, param) if(words == "!buyvip") then local price = 5000000 if doPlayerRemoveMoney(cid, price) == TRUE then local days = 30 local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end if string.find(tostring(getCreatureName(cid)),"[[Vip]]") then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local name = getCreatureName(cid) db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..name.."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você precisa de "..price.." gp's para colocar vip.") end elseif(words == "!vipdays") then local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP no seu character.") elseif(words == "/checkvip") then if getPlayerAccess(cid) == 5 then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) if not isPlayer(player) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player "..player.." not found.") end local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(player, 13540) - timenow)/(24 * 60 * 60)) doPlayerPopupFYI(cid, "O jogador tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP no character.") return TRUE end elseif(words == "/addvip") then if getPlayerAccess(cid) == 5 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 name = getCreatureName(player) local days = t[2] local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end local daysvalue = days*3600*24 local storageplayer = getPlayerStorageValue(player, 13540) local timenow = os.time() local time = storageplayer <= 0 and (timenow + daysvalue) or (storageplayer + daysvalue) if string.find(tostring(getCreatureName(pid)),"[[Vip]]") then doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Foram adicionados "..days.." dias de VIP no seu character.") setPlayerStorageValue(player, 13540, time) local quantity = math.floor((getPlayerStorageValue(player,13540) - timenow)/(3600*24)) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Você tem "..quantity.." dias de VIP restantes.") else setPlayerStorageValue(player, 13540, time) db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..name.."' WHERE `id` = "..getPlayerGUID(player)..";") doRemoveCreature(player) end end elseif(words == "/delvip") then if getPlayerAccess(cid) == 5 then local dec = MESSAGE_INFO_DESCR if(param == "") then return TRUE,doPlayerSendTextMessage(cid,18,"Command param required.")end local C,t = {},string.explode(param, ",") C.pos = getPlayerPosition(cid) C.uid = getCreatureByName(t[1]) C.time = ((tonumber(t[2]) == nil) and 1 or tonumber(t[2]))*3600*24 --Tempo da vip por dia. C.days = (tonumber(t[2]) == nil) and 1 or tonumber(t[2]) --Dias de vip. if(getPlayerStorageValue(C.uid,13540) < C.time)then doPlayerSendTextMessage(cid,dec,'O jogador '..t[1]..' não possui '..C.days..' dias de vip.') else doPlayerSendTextMessage(cid,dec,'Você removeu '..C.days..' dias de vip do player '..t[1]..'.') setPlayerStorageValue(C.uid,13540,getPlayerStorage Value(C.uid,13540)-C.time) end doSendMagicEffect(C.pos, math.random(28,30)) end end return TRUE end creaturescript: --[[ by vodkart ]]-- function onLogin(cid) if getPlayerStorageValue(cid, 13540) - os.time() > 0 then setPlayerStorageValue(cid, 9898, 1) end local pos = {x = 157, y = 50, z = 7} -- posiçao do templo. function Vodka(cid) if isPlayer(cid) then db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end end if getPlayerStorageValue(cid, 9898) == 1 and getPlayerStorageValue(cid, 13540) - os.time() < 1 or getPlayerStorageValue(cid, 13540) - os.time() == 0 then doTeleportThing(cid, pos) doPlayerPopupFYI(cid, "Sua vip Account acabou.") setPlayerStorageValue(cid, 9898, -1) if string.find(tostring(getCreatureName(cid)),"[[Vip]]") then addEvent(Vodka, 3*1000, cid) end end return TRUE end
-
já tem esse sistema do !buyvip que adc e retira o [VIP] do nome no outro
-
não sei mais tente: local nome1 = getDescription(item.uid) local nome4 = tonumber(nome1)
-
action [Action] Máquina Dispensadora De Redbull
tópico respondeu ao junior2b de bonazza20 em Actions e Talkactions
? o script só serve para ver um item? aff ta mto podre isso cara... -
legal eu to aprendendo essa nova linguagem me ajudo bastante
-
na verdade não fui eu que fiz,foi um amigo que eu tenho aqui no msn que é scripter
-
gostei,é uma grande fonte de informação do xtibia juntas,os melhores aqui xD
-
consegui...testa ai: --[[ GOD System By Subwat gean_riot@hotmail.com]]-- function onSay(cid, words, param) local t = string.explode(param, ",") local player = getPlayerByName(t[1]) local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end local acess = { ["god"] = {acess = 6,Name = "[GOD] "..getCreatureName(player)..""}, ["cm"] = {acess = 5,Name = "[CM] "..getCreatureName(player)..""}, ["gm"] = {acess = 4,Name = "[GM] "..getCreatureName(player)..""}, ["senior tutor"] = {acess = 3,Name = "[s Tutor] "..getCreatureName(player)..""}, ["tutor"] = {acess = 2,Name = "[Tutor] "..getCreatureName(player)..""} } local e = acess[t[2]] if not(e) then return doPlayerSendTextMessage(cid, 22, "desculpe,digite god,cm,gm,senior tutor ou tutor !") end db.executeQuery("UPDATE `players` SET `name` = '"..e.Name.."' WHERE `id` = "..getPlayerGUID(player)..";") setPlayerGroupId(player, e.acess) doBroadcastMessage("Saudações ao Novo "..e.Name..".", MESSAGE_EVENT_ADVANCE) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYAREA) doPlayerSendTextMessage(player,25,"Você será kickado em 3 segundos.") addEvent(doRemoveCreature, 3*1000, player, true) return TRUE end talkactions <talkaction words="/setgroup" access="5" script="setgod.lua"/> /setgroup nome do jogador,grupo ex: /setgroup george,god /setgroup george,cm /setgroup george,gm /setgroup george,senior tutor /setgroup george,tutor
-
não tem como fazer para adicionar de vez de 10000000 adicionar por exemplo 1 hora ou 30 minutos?
-
obrigado,vou aguardar então ^^ falow
-
está área é destinada para Actions,Talkactions e Movements! Vou reportar para que movam seu tópico brow xD
-
talkaction [ Talkaction ] !guild List
tópico respondeu ao Vodkart de bonazza20 em Actions e Talkactions
Sinceramente esse script ta foda REP ++ -
System Que Fala !pk E Tira Suas Skulls
tópico respondeu ao 67060608 de bonazza20 em Actions e Talkactions
vou colocar só para vips do meu ot ^^ -
aqui funfou e o pessoal do meu ot tava querendo isso mesmo...valeu spits
-
[Talk] Cs War Tibia! -- V2 Atualizado 20/10/2010
tópico respondeu ao drakylucas de bonazza20 em Actions e Talkactions
oque o pessoal do xtibia não inventa o_O loco -
talkaction [Talkaction] Top Killer's ~
tópico respondeu ao Saymon14 de bonazza20 em Actions e Talkactions
não tinha visto esse script,fica legal colocar só para monstrons foda mesmo '-' -
talkaction [ Talkaction ]Teleport Por Talk. Para Vip
tópico respondeu ao Vodkart de bonazza20 em Actions e Talkactions
testei aqui e funfou legal achei bem sinistro o seu script mto bom -
Implementation On !online Command.
tópico respondeu ao Faisher de bonazza20 em Actions e Talkactions
achei bem joia,foje do basico aprovado
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.