Jump to content

Help Me Pls....


Anyelberth

Recommended Posts

Hello Friends...

My Problem is that I want that My script, open only with administrators.

    function Comandos() 
  
        Comandos = guiCreateWindow(278,206,255,70,"Comandos Level 1",false) 
        Comando = guiCreateLabel(11,23,188,18,"1-) /mute \"Nombre Del Jugador\"",false,Comandos) 
        Cerrar = guiCreateButton(203,43,43,16,"Cerrar",false,Comandos) 
        Comando = guiCreateLabel(11,41,196,16,"2-) /unmute \"Nombre Del Jugador\"",false,Comandos) 
         
        showCursor ( true ) 
         
                        addEventHandler ( "onClientGUIClick", Cerrar, Exit, false ) 
end                      
addCommandHandler ( "MisComandos", Comandos ) 
function Exit() 
  
guiSetVisible (Comandos, not guiGetVisible ( Comandos ) ) 
        showCursor ( false ) 
  
end 

Thank.. And Sorry For My bad English.

Link to comment

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...