Jump to content

Nice login screen + system


flashman

Recommended Posts

How can I make a nice login screen like this?

tbagwgO.jpg

h2PPHE9.jpg

How can I make the background blurry, add some logo there? Make a nice GUI?

And also any tips how to start with the MySQL login/register system when you are a beginner in LUA?

I dont wan't you to make the script for me, maybe you know some good tutorials or wiki pages or anything to get me started?

Thanks.

Link to comment

Events:

--For Both 
onClientResourceStart 
addEvent 
triggerServerEvent 
triggerClientEvent 
-- For DX 
onClientRender 

Functions:

--For The GUI 
guiCreateWindow 
guiCreateStaticImage 
-- DX 
dxDrawRectangle 
dxDrawImage 
removeEventHandler 
-- Both 
guiCreateEdit 
guiCreateButton 
guiGetText 
guiGetScreenSize 
addEventHandler 
addAccount 
getAccount 
logIn 

Link to comment
Well since it's allready asked, How can i make that moving script or whatever xD, Like in the SAUR login panel .

Theres one way that i've thought of doing it, but never have.. Not really sure if it would work. Something like this:

local y = -20 
local rx, ry = guiGetScreenSize ( ) 
addEventHandler ( "onClientRender", root, function ( ) 
dxDrawRectangle ( 0, y, rx, ry ) 
if ( x == 20 ) then 
break 
end 
x = x + 1 
end ) 

something like that

What about the MySQL system?

(I recommand Sqlite, its a little faster)

For MySQL/SQL you'll need:

dbConnect 
dbExec 
dbQuery 
dbPoll 

Link to comment
  • 2 years later...

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