Jump to content

getLetters


Recommended Posts

Posted

if i want to get gui-edit letters , or how much letter did the player entered

is there any function or something ?

should i use

gettok 

?

Posted

try this:

addEventHandler("onClientGUIClick",guiRoot,function() 
    if getElementType(source)=="gui-edit" then 
        count = 0 
        addEventHandler("onClientKey",root,function(button) 
            if button ~= "backspace" then 
                count = count + 1 
            elseif button == "backspace" then 
                count = count - 1 
            end 
        end) 
    end 
end,true) 

EDIT: lol, I made this :/

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