Jump to content

Group system


Kasem

Recommended Posts

  • Moderators
sorry i don't undrestand can u help me

Did you read the example ??

Here is an even more simple example:

function kickButton( button ) 
    if button == "left" then --if the player clicked with the left click mouse 
        outputChatBox ( "You clicked the kick button !" ) 
    end 
end 
  
--Creating the button: 
myButton = guiCreateButton( 0.7, 0.1, 0.2, 0.1, "Kick !", true ) 
--Adding the click event on myButton to call the kickButton function when clicked: 
addEventHandler("onClientGUIClick", myButton, kickButton, false) 

Everything you need is here, I can't do it more simple.

Regards,

Citizen

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