03-05-2011, 07:43 AM
You should not check data == true, data is never true, data is a number. However, tonumber can return nil if the given argument is not a number. So what you should do is check for nil instead of true.
headache
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
RE: headache - by Revolucas - 03-05-2011, 06:54 AM
RE: headache - by Tim - 03-05-2011, 07:13 AM
RE: headache - by FakeTruth - 03-05-2011, 07:43 AM
RE: headache - by Tim - 03-05-2011, 08:29 AM
|