| View previous topic :: View next topic |
| Author |
Message |
forested Newbie cheater
Reputation: 0
Joined: 04 Jul 2015 Posts: 23
|
Posted: Sun Feb 21, 2016 11:03 am Post subject: Whats wrong with this? |
|
|
function Authenticate(sender)
beep()
UDF1_1.Visible=false
UDF1.Visible=true
UDF1_2.Visible=false
UDF2.Visible=false
AOBScan("36 39 37 31 33 38 37 32")
OnlyOneResult
else
closeCE()
end
|
|
| Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Sun Feb 21, 2016 12:12 pm Post subject: Re: Whats wrong with this? |
|
|
| forested wrote: | function Authenticate(sender)
beep()
UDF1_1.Visible=false
UDF1.Visible=true
UDF1_2.Visible=false
UDF2.Visible=false
AOBScan("36 39 37 31 33 38 37 32")
OnlyOneResult
else
closeCE()
end |
What are you trying to do exactly? it says syntax error because of OnlyOneResult (unexpected identifier,expecting a function call,an expression, end keyword ...), also, you didn't save the results of the aobscan.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Feb 21, 2016 12:40 pm Post subject: |
|
|
| Code: | local aob = AOBScan("36 39 37 31 33 38 37 32")
if aob == nil or aob.Count ~= 1 then
closeCE()
end
aob.Destroy() |
|
|
| Back to top |
|
 |
forested Newbie cheater
Reputation: 0
Joined: 04 Jul 2015 Posts: 23
|
Posted: Sun Feb 21, 2016 5:22 pm Post subject: |
|
|
Nvm I have fixed it, I have been trying to create something like a whitelist
but it is resolved now. What I did to fix it was remove the getoneresult
and add if then and elseif statements to add multiple scans for verification
before making a form visible. Anyways thanks for all the help!
|
|
| Back to top |
|
 |
|