antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
ʍα૨૮ѳ ઽiℓ√α

Ajuda Numa Quest

Question

Boas Cyber-Gamers!

Vinha aqui pedir se me podiam ajudar a fazer uma quest para quando um player fica on dizer como por ex as dos GMs , Gm tal tá agora on ...

eu queria para os players .

Tipo a quest dos gm's que eu tenho é assim :

quest gmlogin begin
state start begin
when login with pc.is_gm() begin
command("n ".. pc.get_name() .." esta Online!")
command("n Poderas-lhe mandar pm com duvidas ou queixas.")
end
end
end

Como faço para os players?


Dou http://cyber-gamers.org/public/style_emoticons/default/451960.gif a quem me poder ajudar :$

Desde já Obrigado!

Share this post


Link to post
Share on other sites

16 answers to this question

  • 0

troca command por notice_all e retira o pc.is_gm

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

when login with pc.is_gm() beginalteras parawhen login with not pc.is_gm() beginTrocas o command("n por notice_all("

Share this post


Link to post
Share on other sites
  • 0

Nem sei se isto tá correto, não mexo em quests à anosquest playerlogin beginstate start beginwhen login with not pc.is_gm() beginnotice_all("O jogador "..pc.get_name().." está online".)endendend

Share this post


Link to post
Share on other sites
  • 0

when login with not pc.is_gm() begin

Praque o not pc.is gm? :|

Share this post


Link to post
Share on other sites
  • 0

Tbm não percebi, não sei nada de quests, não mecho á mesmo bué tempo, só copiei isso do PACIFICADOR, mas tbm pensei isso do not pc.is_gm()

Share this post


Link to post
Share on other sites
  • 0

Eu não mexo com quests faz um bom tempo, mas não deveria ser qualquer coisa do tipo

## Lua## Biblioteca13 para Cyber-Gamers.org## 11-08-2013 00:45Hquest login begin  state start begin	when login begin	  if(pc.is_gm() == true) then		notice_all("O GM".. pc.get_name() .."entrou no servidor!")		notice_all("Qualquer questão ou queixa envia-lhe PM")	  elseif(pc.is_gm() == false) then		notice_all("O jogador".. pc.get_name() .."entrou no servidor!")	  end	end  endend
Denovo, eu não mexo com isso há MUITO tempo, e como agora mexo noutra linguagem posso tar a confundir alguma coisa..

Share this post


Link to post
Share on other sites
  • 0

a que eu pus ta bem ta a foncionar se alguem quiser que eu mande a quest "pasta" me add skype --> marcosilva6969

oque eu queria era uma quest que disse que Player tal tá agora online! ...

Share this post


Link to post
Share on other sites
  • 0

Sim penso que esteja certa

Share this post


Link to post
Share on other sites
  • 0

Tá aqui

quest playerlogin begin

state start begin

when login with not pc.is_gm() begin

notice_all("O jogador "..pc.get_name().." está online".)

end

end

end

Sry double

Share this post


Link to post
Share on other sites
  • 0

a que eu pus ta bem ta a foncionar se alguem quiser que eu mande a quest "pasta" me add skype --> marcosilva6969

oque eu queria era uma quest que disse que Player tal tá agora online! ...

Lê o meu post acima, tem as duas funções na mesma quest, mas não sei se está correctamente escrito , pois não mexo em lua há algum tempo

Share this post


Link to post
Share on other sites
  • 0
quest gmlogin begin	state start begin		when login begin			if pc.is_gm() then				notice_all(pc.get_name().." esta Online!")				notice_all("Poderas-lhe mandar pm com duvidas ou queixas.")			else				notice_all(pc.get_name().." esta Online")				notice_all("bla bla bla")			end		end	endend
Pronto, tudo na mesma quest..

Share this post


Link to post
Share on other sites
  • 0

quest gmlogin begin	state start begin		when login begin			if pc.is_gm() then				notice_all(pc.get_name().." esta Online!")				notice_all("Poderas-lhe mandar pm com duvidas ou queixas.")			else				notice_all(pc.get_name().." esta Online")				notice_all("bla bla bla")			end		end	endend
Pronto, tudo na mesma quest..
Não é o que eu tinha posto em cima :?

Share this post


Link to post
Share on other sites
  • 0

Não tinha visto soz, mas btw, em lua é -- não #

Share this post


Link to post
Share on other sites
  • 0

Eu não mexo com quests faz um bom tempo, mas não deveria ser qualquer coisa do tipo

## Lua## Biblioteca13 para Cyber-Gamers.org## 11-08-2013 00:45Hquest login begin  state start begin	when login begin	  if(pc.is_gm() == true) then		notice_all("O GM".. pc.get_name() .."entrou no servidor!")		notice_all("Qualquer questão ou queixa envia-lhe PM")	  elseif(pc.is_gm() == false) then		notice_all("O jogador".. pc.get_name() .."entrou no servidor!")	  end	end  endend
Denovo, eu não mexo com isso há MUITO tempo, e como agora mexo noutra linguagem posso tar a confundir alguma coisa..
Obrigado a tua deu !!! já te dei http://cyber-gamers.org/public/style_emoticons/default/451960.gif :D

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this