Jump to content

Help


Anubhav

Recommended Posts

        if x ~= "x" then 
            if not tonumber(tostring(x)) then 
                return outputChatBox("*X value must be in number!", client, 255, 0, 0) 
            end 
            executeSQLQuery( "UPDATE teleportData SET x=? WHERE command=?", tonumber(tostring(x)), oc )  
        end 

This is my piece of a code.

See here,

x is the value of guiGetText ( i triggered. )

Ok so the problem starts

My x's test it x still it goes infront and returns *X value must be in number!

What's wrong?

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