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 


Why Isnt this script working?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
SethDusek5
How do I cheat?
Reputation: 0

Joined: 15 Apr 2014
Posts: 1

PostPosted: Tue Apr 15, 2014 8:41 am    Post subject: Why Isnt this script working? Reply with quote

noclip=false;


function checkKeys(timer)
if (isKeyPressed(VK_F)) then
if noclip ~= true then
writeFloat(010A4C9C, -1)
noclip = true
end
else
if noclip ~= false then
writeFloat(010A4C9C, 1000000)
noclip = false
end
end

end

t=createTimer(nil)
timer_setInterval(t, 100)
timer_onTimer(t, checkKeys)
timer_setEnabled(t, true)

I'm a really nooby Hacker I just took some speedhack script and edited it around the error it gives is:
Script Error:[string "noclip=false;..."]:7: malformed number near '010A4C9C'


This script edits a value which when -1 allows me to pass through walls I want it to work that whenever I hold F I can pass through walls

_________________
I'm Batman
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Tue Apr 15, 2014 8:55 am    Post subject: Reply with quote

try 0x010A4C9C
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
N8X
How do I cheat?
Reputation: 0

Joined: 16 Apr 2014
Posts: 2

PostPosted: Wed Apr 16, 2014 3:47 pm    Post subject: Reply with quote

If 0x didn't work put it in a String like this:
"010A4C9C "
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 Lua Scripting 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