Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Error attempt to call a nil value

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
WALLED
!BEWARE! Deletes post on answer
Reputation: 0

Joined: 17 Feb 2020
Posts: 9

PostPosted: Wed Mar 25, 2020 11:41 am    Post subject: Error attempt to call a nil value Reply with quote

I want to do a speed hack button, but when i click on it, i'm getting that error

Error:[string "UDF1.show();
..."]:619: attempt to call a nil value (global 'luacall')

And my code is

Code:
function UDF1_CEPanel17Click(sender)
if sender.showhint == false then
sender.showhint = true
sender.color = '$000500D2'
end
luacall(speedhack_setSpeed(50000))
sender.showhint = false
sender.color = '$0016BC27'
luacall(speedhack_setSpeed(1))
end


Can someone help me?
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 33

Joined: 10 Apr 2015
Posts: 1284

PostPosted: Wed Mar 25, 2020 10:05 pm    Post subject: Reply with quote

Are the scripts made by your self?.
luacall is used in AA script.

Try, change without luacall, just

Code:
speedhack_setSpeed(1)

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites