

tinfer
Campones-
Total de itens
33 -
Registro em
-
Última visita
-
Dias Ganhos
1
Tudo que tinfer postou
-
action [Action] Script Televisão + Pokémon Ots [Simples]
tópico respondeu ao LaisDosOts de tinfer em Actions e Talkactions
pro player falar da para fazer sim,e tbm da para diminuir seu script: function onUse(cid, item, frompos, item2, topos) local frases = { -- defina suas frases "Vai lá naruto mata essa raposa maldita", "Snif que final triste.", "Por favor Mcqueen ganhe a corrida!" } pos = getPlayerPosition(cid) doSendMagicEffect(pos,14) doCreatureSay(cid, frases[math.random(#frases)], TALKTYPE_SAY) return TRUE end -
Gostei dos seus scripts cara,mais da para melhorar usando tabbles,irá diminuir muitos eles... function onUse(cid, item, frompos, item2, topos) local box = { [1] ={item = 7884,msg = "Você ganhou um Porygon."}, [2] ={item = 2129,msg = "Você ganhou um Hitmonchan."}, [3] ={item = 2130,msg = "Você ganhou um Hitmonlee."} } local level = 60 local e = box[math.random(1,3)] if getPlayerLevel(cid) >= level then doPlayerSendTextMessage(cid,22,e.msg) doPlayerAddItem(cid, e.item, 1) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "Você deve ter level "..level.." ou mais para abriar esta box.") end return TRUE end
-
talkaction [Talkactions/actions]Light System
tópico respondeu ao Aksz de tinfer em Actions e Talkactions
Muito legal sua ideia,parabéns pelo script,obrigado por contruibuir ao Xtibia,agradecemos a você pela colaboração. valeu -
aconselho vocês a aprenderem um pouco sobre tabble,fiz para homem e mulher,e além disso os itens variam de acordo com o sexo: 0 = Mulher 1 = Homen local tabble = { [0] = {outfit = {lookType = 329, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}, -- out female items = { {item_id = 2523, quantidade = 1},{item_id = 2421, quantidade = 1} }}, -- itens female (pode adicionar +) [1] = {outfit = {lookType = 328, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}, -- out male items = { {item_id = 2494, quantidade = 1},{item_id = 2470, quantidade = 1} }} -- itens male (pode adicionar + ) } local price = 5000000 function onSay(cid, words, param) local e = tabble[getPlayerSex(cid)] if doPlayerRemoveMoney(cid,price) == TRUE then doSetCreatureOutfit(cid, e.outfit, -1) for k,v in pairs(e.items) do doPlayerAddItem(cid, v.item_id, v.quantidade or 1) end doPlayerSendTextMessage(cid,22,"você recebeu Presentes por seu casamento") else doPlayerSendCancel(cid,"Vc Não Tem "..price.." gold Para Se Casar") end return TRUE end
-
cade o script?
-
Tirar [Vip] Do Nome Do Player Automatico Apos Fim Da Vip
tópico respondeu ao otiano de tinfer em Lixeira Pública
qual servidor vc esta utilizando? aqui funciona,você que não soube colocar o script direito ¬¬ -
Devilmoon viro emo,agora ta todo revolts feito uma bicha louca querendo dar e não sabe pra quem
-
local configs = { cobrar = "nao", ------ Use sim ou nao para cobrar. sovip = "nao", ------ Se somente vip players poderam usar o comando price = 1000, ------ Preço a pagar se o cobrar estiver ativado. storage = 80123 ------ Storage Id da sua vip account caso for usar somente vips } function onSay(cid, words, param) if configs.sovip == "sim" and getPlayerStorageValue(cid, tonumber(configs.storage)) - os.time() <= 0 then doPlayerSendCancel(cid,"Você não é vip.") return TRUE end if configs.cobrar == "sim" and not doPlayerRemoveMoney(cid,tonumber(configs.price)) then doPlayerSendCancel(cid,"Você não tem dinheiro suficiente.") return TRUE end doBroadcastMessage("[VIP]"..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", MESSAGE_INFO_DESCR) return TRUE end
-
e como era esse servidor? tinha que fazer gol pra upar?
-
também passei dos limites me desculpe.Mais tranquilo,pelo menos o pessoal já tem um comando a mais para colocar no servidor kk. Boa sorte com seus trabalhos sobre scripting,espero ver alguns novos futuramente,falou.
-
nunca joguei esse refugia é bom mesmo? depois passa o ip dele ai... e parabéns subwat pelo script que você fez
-
Sou contra esse tipo de comando,eles tem liberdade para falar oque quiserem,ainda mais reclamar sobre o LAG no servidores em que jogam,se fosse assim não precisaria dar suporte para nenhum jogador,ou sejá eles vão acabar se revoltando contra o servidor que nada faz sobre esse lag,desrespeitando tanto o GOD como os jogadores e até mesmo o próprio servidor,perdendo a credibilidade do mesmo.
-
Não estou te criticando,apenas você tem que respeitar as regras,oque você fez foi ripping,eu poderia te denunciar,mais pelo contrario,estou aqui para te auxiliar,você tem que colocar os devidos creditos do proprio autor script,claro que parcialmente parte dos credistos são seus,mais você é tão ignorante e não sabe aprender com as criticas,errou certo,mais agora faça a coisa certa,porque persistir no erro?e eu não critico ninguem,apenas dou minha opnião,saiba escutar.
-
"contra fatos não há argumentos." olhe o script do AFK SYTEM,é quase identico ao seu... --[[ Talking Tp/signs/tiles for TFS 0.2+ 70%shawak,30%Damadgerz Idea by Damadgerz ]]-- local time = 5 -- 1 = 1 sec, 2 = 2 sec, ... local say_events = {} local function SayText(cid) if isPlayer(cid) == TRUE then if say_events[getPlayerGUID(cid)] ~= nil then if isPlayer(cid) == TRUE then doSendAnimatedText(getPlayerPosition(cid),"Ausente!", math.random(01,255)) end say_events[getPlayerGUID(cid)] = addEvent(SayText, time * 1000 / 2, cid) end end return TRUE end function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end if param == "on" then if isPlayer(cid) == TRUE then doSendAnimatedText(getPlayerPosition(cid),"Ausente!", math.random(01,255)) end say_events[getPlayerGUID(cid)] = addEvent(SayText, time * 1000, cid) doPlayerSendTextMessage(cid,MESSAGE_STATUS_WARNING,"You Now Stated you are (afk).") elseif param == "off" then stopEvent(say_events[getPlayerGUID(cid)]) say_events[getPlayerGUID(cid)] = nil doPlayerSendTextMessage(cid,MESSAGE_STATUS_WARNING,"You Now stated your are not (afk).") end return TRUE end
-
Era só procurar antes de criar este tópico http://www.xtibia.com/forum/topic/142866-ban/
-
Nossa,você pegou o script do AFK SYSTEM,e de vez de sair letras coloridas falando "ausente" fica saindo "creew",e o script nem de longe é seu! valeu
-
estarei aguardando ancioso meu querido! valeu
-
Tirar [Vip] Do Nome Do Player Automatico Apos Fim Da Vip
tópico respondeu ao otiano de tinfer em Lixeira Pública
Essa coloca o o [VIP] no NOME e dps que acaba a vip retira o [VIP] do nome também cara... -
Tirar [Vip] Do Nome Do Player Automatico Apos Fim Da Vip
tópico respondeu ao otiano de tinfer em Lixeira Pública
FOI O VODKART QUEM FEZ: talkactions vip -- 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,getPlayerStorageValue(C.uid,13540)-C.time) end doSendMagicEffect(C.pos, math.random(28,30)) end end return TRUE end agora em creaturescript.xml viploggin.lua --[[ 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 em creaturescript.xml <event type="login" name="checkvip1" script="viploggin.lua"/> -
TAMBÉM QUERIA FALAR QUE NÃO É UMA FUNCTION, E SIM SÓ UM SIMPLES SCRIPT...
-
ah esse comando já existia,mais só para acess 3 ou mais...
-
Ripper oque você fez foi só mudar o Value Storage do sistema do Vodkart...
-
[Pedido] Mostrar Status Vip Ao Dar Look No Player
tópico respondeu ao otiano de tinfer em Lixeira Pública
posso tentar ajuda-lo poderia me passar o link do seu sistema vip para eu dar uma olhada?
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.