View previous topic :: View next topic |
Author |
Message |
Skyrimfus Cheater Reputation: 1
Joined: 17 Mar 2016 Posts: 42
|
Posted: Mon Aug 09, 2021 9:16 am Post subject: Open/Load a .CT callback |
|
|
is there a callback function when loading a cheat table? If so, is it possible to get the path of the .ct from it?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Mon Aug 09, 2021 10:50 am Post subject: |
|
|
Code: |
loadTable(FileName, merge OPTIONAL): Loads a .CT or .cetrainer. If merge is provided and set to true it will not clear the old table.
loadTable(Stream ,merge OPTIONAL, ignoreluascriptdialog BOOLEAN): Loads a table from a stream object.
onTableLoad(before): If defined, this function will be called twice when a table gets loaded. Once before the loading, and once after.
|
Not sure about the path to the file of the table, sorry.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Aug 09, 2021 11:40 am Post subject: |
|
|
a table can be loaded from a stream so internally there is no file associated with it
but you can probably query the openfiledialog for the filename if it's a manual open
_________________
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 |
|
|
|