Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addEventHandler( "onClientGUIClick", GUI_RegData[ button ][ 1 ],
- function( )
- local username = guiGetText( GUI_RegData[ memo ][ 1 ] )
- local password = guiGetText( GUI_RegData[ memo ][ 2 ] )
- if( ( string.len( username ) ~= nil ) and ( string.len( password ) ~= nil ) ) then
- showCursor( false )
- guiSetInputEnabled( false )
- guiSetVisible( GUI_RegData[ window ], false )
- triggerServerEvent( "continueRegistration", getRootElement( ), username, password )
- else
- outputChatBox( "Error: You didn't insert a username and/or password!" )
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement