antiblock
Elveron
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
Sign in to follow this  
p0w3r0ff

Quest Anel Teleporte

13 posts in this topic

Nova quest faça teleporte para outro Jogador Você só pode se teleportar uma vez a cada hora.

Você pode definir alguns nomes que são proibidos o teleporte, Exemplo fazer teleporte para veira de um Gm.

Cumprimentos

Item: Imagem colocada

quest teleportring begin    state start begin	    when 70007.use begin		    local left = pc.getqf("next_time") - get_time()		    local left2 = left / 60		    say_title("Teleportation ring")		    say("With this ring you can teleport")		    say("to any other player ingame.")		    say("")		    say("You can only teleport once every hour!")		    say_reward("Do you want to teleport?")		    local a = select("Yes","No")		    if a == 1 then			    say_title("Teleportation ring")			    say("When you enter a playername that")			    say("is not online, your ring will have to ")			    say("recharge for 1 hour anyway.")			    say_reward("You want to continue?")			    local b = select("Yes","No")			    if b == 1 then				    if get_time() > pc.getqf("next_time")then					    say_title("Teleportation ring")					    say_reward("What is the name off the player?")					    local name = input()					    if name == "[SA]1" or name == "[SGM]2" or name == "[SGM]3" or name == "[GM]4" or name == "[GM]5" or name == "[GM]6" or name == "[GM]7" then						    say("you can not teleport to a gm")						    return					    else						    pc.teleport(name)						    pc.teleport(name)						    pc.setqf("next_time", get_time() + 3600)					    end				    else		   					    say("You have to wait "..left2.." minutes longer to teleport again.")				    end			    else				    return			    end		    else			    return		    end	    end    endend 
Creditos: Epvp

Share this post


Link to post
Share on other sites
antiblock
Cyphriun

Eu queria um desses mas para telportar para mapas e nao outros jogadores.

Share this post


Link to post
Share on other sites

Nova quest faça teleporte para outro Jogador Você só pode se teleportar uma vez a cada hora.

Você pode definir alguns nomes que são proibidos o teleporte, Exemplo fazer teleporte para veira de um Gm.

Cumprimentos

Item: Imagem colocada

quest teleportring begin	state start begin		when 70007.use begin			local left = pc.getqf("next_time") - get_time()			local left2 = left / 60			say_title("Teleportation ring")			say("With this ring you can teleport")			say("to any other player ingame.")			say("")			say("You can only teleport once every hour!")			say_reward("Do you want to teleport?")			local a = select("Yes","No")			if a == 1 then				say_title("Teleportation ring")				say("When you enter a playername that")				say("is not online, your ring will have to ")				say("recharge for 1 hour anyway.")				say_reward("You want to continue?")				local b = select("Yes","No")				if b == 1 then					if get_time() > pc.getqf("next_time")then						say_title("Teleportation ring")						say_reward("What is the name off the player?")						local name = input()						if name == "[SA]1" or name == "[SGM]2" or name == "[SGM]3" or name == "[GM]4" or name == "[GM]5" or name == "[GM]6" or name == "[GM]7" then							say("you can not teleport to a gm")							return						else							pc.teleport(name)							pc.teleport(name)							pc.setqf("next_time", get_time() + 3600)						end					else		  						say("You have to wait "..left2.." minutes longer to teleport again.")					end				else					return				end			else				return			end		end	endend
Creditos: Epvp
Quase de certeza que teras mais jeito que eu para Fazer isso . Se for possivel meter para nao PODEREM teleportarem se para os GMS agradeçia xD espero uma resposta

Share this post


Link to post
Share on other sites

boaskual e o nome ke se mete na quest???

Mete um nome a tua escolha tens é de meter assim: teunomedoanel.quest

Share this post


Link to post
Share on other sites

depois de colocar no dir: "/usr/home/game/share/locale/germany/quest" só preciso de dar reboot?

Share this post


Link to post
Share on other sites

Podes dar apenas /reload q

Share this post


Link to post
Share on other sites

quando coloco a quest de anel de teleport o anel ao ultilizar nao faz nada. sei que tenho de colocar um type ao item 70007 no navicat mas qual é?

Share this post


Link to post
Share on other sites

quando coloco a quest de anel de teleport o anel ao ultilizar nao faz nada. sei que tenho de colocar um type ao item 70007 no navicat mas qual é?

o item tem de ter type 18

Share this post


Link to post
Share on other sites

continua a nao funcionar alguem me pode ajudar por teamviwer ou skype?

Share this post


Link to post
Share on other sites

continua a nao funcionar alguem me pode ajudar por teamviwer ou skype?

se tu tas a tentar meter uma quest num item, tem de ter type 18 e o subtype tb 0 a n ser ke seja algum cabelo ou costumetas a dar reload as quests??? colocas te o nome da quest no quest_list/locale_list???

Share this post


Link to post
Share on other sites

quest nao trabalha meti tudo igual  

 

QUEST : teleportring
STATE : start
WHEN  : 70007.use
Anel.quest:1:expecting 'when' or 'function'
Abort (core dumped)
 

Edited by EliteOfDeath (see edit history)

Share this post


Link to post
Share on other sites
6 horas atrás, EliteOfDeath disse:

quest nao trabalha meti tudo igual  

 

QUEST : teleportring
STATE : start
WHEN  : 70007.use
Anel.quest:1:expecting 'when' or 'function'
Abort (core dumped)
 

Se mudaste o nome da quest para Anel.quest, também tens que mudar na quest

 

quest Anel begin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this