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 


Cheat Engine Forum Index
PostGo back to topic
TheyCallMeTim13
Wiki Contributor
Reputation: 50
Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sun Feb 25, 2018 9:03 pm    Post subject:

Here's how I get the path separator.
Code:
local pathseparator = package.config:sub(1,1)


And I just use it with this.
Code:
function getPath( ... )
   local pathseparator = package.config:sub(1,1)
   local elements = { ... }
   return table.concat(elements, pathseparator)
end

_________________
wiki.CheatEngine.org - Tutorials
OpenCheatTables.org
Back to top
View user's profile Send private message Visit poster's website
Post reviews:   Approve 1
Author Review
Corroder
Review: Approve
Post reference:
ReviewPosted: Mon Feb 26, 2018 12:38 am

Thanks for give an optional
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites