vertfire
|
  |
| Joined: 30 Mar 2014 |
| Total Posts: 88 |
|
|
| 10 Oct 2016 10:52 AM |
local apple = 0 if not 10 + 1 > apple then print"ok" end
Seems like a working script, but when running, it says this 'Attempt to Compare Number With Boolean' |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:54 AM |
if 10 + 1 <= apple then
you can't use "not" when you are using operators to compare, only for booleans |
|
|
| Report Abuse |
|
|
vertfire
|
  |
| Joined: 30 Mar 2014 |
| Total Posts: 88 |
|
| |
|
KreoBox
|
  |
| Joined: 24 Aug 2016 |
| Total Posts: 356 |
|
|
| 10 Oct 2016 11:02 AM |
local apple = 0 if not (10 + 1 > apple) then print"ok" end |
|
|
| Report Abuse |
|
|