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  
Valenza

[TRADUÇÃO] Quest para GM's banirem player In-Game

4 posts in this topic

Boas, segue a tradução referente ao tópico: http://cyber-gamers....player-in-game/

quest [img]http://cyber-gamers.org/public/style_emoticons/<#EMO_DIR#>/ban.gif[/img]_item begin		state start begin				when 70022.use begin						say_title ("Olá, ".. pc.get_name() ..".")												say("Banir ou desbanir um jogador")												say("")												say("Por favor, pense com sabedoria")												local a = select ( "Banir Jogador" , "Desganir jogador" , "Sair" )																if a == 1 then												say("Nome do jogador que deseja banir")												say("")												say("Info : Gm, caso abuse do poder, você sera removido da equipe")												local cblock = input()						   say("Rasao:")												local creason = input()												game.set_event_flag("banned_".. cblock ..(),1")												notice_all("Jogador: ".. cblock .." foi banido pelo seguinte motivo: ".. creason.."")												notice_all("Players, fiquem atentos as regras")												end																				if a == 2 then										   say("Insira o nome do jogador que vai ser desbanido")										   local cublock = input()										   game.set_event_flag("banned_".. culock ..(),0")										   notice_all("O jogador: ".. cublock .." ja foi desbanido")										   end																if a == 3 then						return						endendendend
Cumprimentos,

Share this post


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

Boas.Eu estive a ler a quest e acho estranho... Mas esta quest funciona?

Share this post


Link to post
Share on other sites

pelo que li acima tera que se fazer uma outra quest que quando o player logue verifique se ele esta banido e de DC a ele.

Share this post


Link to post
Share on other sites

Exacto! Daí eu dizer que esta quest só por si não resultará.

quest [img]http://cyber-gamers.org/public/style_emoticons/<#EMO_DIR#>/ban.gif[/img]_item beginwhen login or levelup begin  pc.get_name() = nome  if   game.get_event_flag(banned_"..nome..(),1") then    command(logout)   else   return  endendend

Foi feito um bocadinho à pressa, não garanto que resulte, mas o que falta é uma quest muito identica a isto.

Sem mais,

Sérgio

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