Jump to content

Como Configurar Painel De Login


Recommended Posts

Posted

Como que configura o script do painel de login para quando eu for logar não ficar abrindo nenhum painel, pq todas vez q vou logar fica abrindo painel B (Painel De Hands) Painel de vips etc alguem me ajuda por favor ? Obrigado!

Posted

Provavelmente tem algum código pra fazer abrir quando loga, talvez o evento onPlayerLogin, você pode dar uma olhada no próprio resource e ver o que está fazendo o painel abrir.

  • Other Languages Moderators
Posted (edited)

Dentro do evento "onClientResourceStart", do seu painel de login, use: guiSetInputMode("no_binds_when_editing")

Edited by AndreiSR
  • Other Languages Moderators
Posted

Procure pelo seu código, onde tiver isso:

showCursor(true)

Coloque isso na linha seguinte:

guiSetInputEnabled(true)

 

E onde estiver com isso:

showCursor(false)

Coloque isso na linha seguinte:

guiSetInputEnabled(false)

O guiSetInputEnabled, se for true, desabilita os comandos do jogo e as teclas vão para o menu GUI, se for false, habilita as teclas do jogo novamente.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...