Jump to content

Why not hide the loginpanel?


Turbe$Z

Recommended Posts

client:

function asdasd111()
	removeEventHandler("onClientRender",root,a123)
	guiSetVisible(buttonLogin,false)
	guiSetVisible(buttonRegister,false)
	guiSetVisible(buttonGuest,false)
	guiSetVisible(editPassword,false)
	guiSetVisible(editUsername,false)
	guiSetVisible(G1,false)
	guiSetVisible(G2,false)
	showCursor(false)
end
addEvent ( "onClientPlayerLogin", true )
addEventHandler ( "onClientPlayerLogin", root, asdasd111 )

server:

function triggerLogin ( player, username,  password )
	triggerClientEvent ( player, "onClientPlayerLogin", player, username, password )
end

what wrong? :( 

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