Turbe$Z

Why not hide the loginpanel?

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? :( 

Share this post


Link to post

i guess you forget to put the window as false exepect if you not have window if you have and all are attached to window not need other put in false

  • Like 1

Share this post


Link to post

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.