Jump to content

[HELP] Login Panel


Recommended Posts

Hello I'm scripting login panel and i want to users do not use guiEditFields i want to they be able to type in rectangles

Ik which functions and events to use but idk how, cuz i'm new in MTA and in Lua scripting

local text = { }

addEventHandler("onClientClick",root,

function ()

(we check if the click is in the Rec) then

addEventHandler("onClientKey",root,

function ()

(we add the letter to the text table)

end

)

end

addEventHandler("onClientRender",root,

function ()

dxDrawText(table.concat(text).....)

end

)

but idk how to write it correctly, every time i try i screw up something , anyone help ?

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