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 


How to make custom data type?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Thu Jul 01, 2021 10:41 am    Post subject: How to make custom data type? Reply with quote

I'm just trying to make setXPos,setYPos,setZPos variable

Code:
setZPos('value')

I tried to make setting z pos simply
But it's just not setting
Back to top
View user's profile Send private message
Teeotsa
How do I cheat?
Reputation: 0

Joined: 05 Jan 2021
Posts: 3

PostPosted: Thu Jul 01, 2021 2:37 pm    Post subject: Reply with quote

maybe?

function setZPos(value)
--some script
end

_________________
Hello there!
Back to top
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Fri Jul 02, 2021 4:08 am    Post subject: nvm Reply with quote

nvm i already found how to make this
Code:
function setXPos(value)
writeFloat(player.XPos,value);
end
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