View previous topic :: View next topic |
Author |
Message |
Lynxz Gaming Expert Cheater Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Thu Apr 05, 2018 7:00 am Post subject: Re: Auto Close lua Errors [help] |
|
|
Lynxz Gaming wrote: | When i open up my trainer it always showing up an error
"Error:attempt to call a nil value"
|
Is show what line number contain error ?
"Error:attempt to call a nil value" appear caused by i.e :
1. Variable(s), functions, etc not stated or declared
2. Can not identify a property name / properties name, i.e by default first form name = UDF1. but you change it to
i.e myform and then in script you still use UDF1. This cause UDF1 not recognize, and so on.
3. Wrote a file name. picture name, etc in script, but not same as files on stream files (name)
So, with this error type then really not understand what you mean with 'i want that to make auto close'
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
Lynxz Gaming Expert Cheater Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Thu Apr 05, 2018 7:15 am Post subject: Re: Auto Close lua Errors [help] |
|
|
My engplisz bad sorry
there's no number appear on the error
the error just showed on first time opened, i added timer that enabled when opening trainer
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Apr 05, 2018 7:32 am Post subject: |
|
|
So instead of fixing the error, you just want to close the Lua Engine form?
And "Error:attempt to call a nil value" means your calling some thing (like what you thing is a function) that is nil , either it doesn't exist yet (may be called before it's declared) or you're using the wrong name (may be a typo).
_________________
Last edited by TheyCallMeTim13 on Thu Apr 05, 2018 7:36 am; edited 1 time in total |
|
Back to top |
|
|
Lynxz Gaming Expert Cheater Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Thu Apr 05, 2018 7:35 am Post subject: |
|
|
Nvm i already fixed it, cuz i had a form onshow event that the script is not exsist in the lua script so i remove the form onshow event and it does work! thx
for the reply
sry bad engliz
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
|
|