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  
TheSubKIller aka Skinning

[TRADUÇÃO] Protecao GM Mode

3 posts in this topic

Boas Cyber-Gamers

Quest gmmode_protection begin

state start begin

when 20095.chat."Proteção de GM Mode" with pc.is_gm() begin

say_title(mob_name(20095)..":")

if game.get_event_flag("gmmode_protection") == 0 then

say_title("Traduzido By TheSubKiller")

say("Quer habilitar a proteção contra Modo GM?[ENTER]")

local s = select(locale.yes, locale.no)

if s == 1 then

say_title("Traduzido By TheSubKiller")

say("Proteção contra o modo GM foi ativado.[ENTER]")

game.set_event_flag("gmmode_protection", 1)

server_timer("gmmode_protection", 5, get_server_timer_arg())

end

elseif game.get_event_flag("gmmode_protection") == 1 then

say_title("Traduzido By TheSubKiller")

say("Quer habilitar a proteção contra Modo GM?[ENTER]")

local s = select(locale.yes, locale.no)

if s == 1 then

say_title("Traduzido By TheSubKiller")

say("Proteção contra o modo GM foi ativado.[ENTER]")

game.set_event_flag("gmmode_protection", 0)

end

end

end

when gmmode_protection.server_timer begin

clear_server_timer("gmmode_protection", get_server_timer_arg())

if game.get_event_flag("gmmode_protection") == 1 then

if game.get_event_flag("test") == 1 then

game.set_event_flag("test", 0)

end

server_timer("gmmode_protection", 5, get_server_timer_arg())

end

end

end

end

Share this post


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

gostei da parte do traducido

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