motax Posted July 30, 2013 Posted July 30, 2013 After creating a new edit box with, guiCreateEdit and get the value of it, with guiGetText, I get a string variable which is useless because i want to compare it with an integer later. Is it possible somehow to get an integer from gui?
Kenix Posted July 30, 2013 Posted July 30, 2013 tonumber http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
xXMADEXx Posted July 30, 2013 Posted July 30, 2013 And if its returning a float, you can use: math.floor -- or math.ceil The Ultimate Lua Tutorial! | MTA PHP SDK
Kenix Posted July 30, 2013 Posted July 30, 2013 No problem! http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now