View previous topic :: View next topic |
Author |
Message |
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Sat Mar 10, 2012 4:48 pm Post subject: memoryrecordhotkey description and string [Edit] |
|
|
What is the difference between memoryrecordhotkey_getDescription(hotkey) and
memoryrecordhotkey_getHotkeyString(hotkey)
And is it possible to use Tab control and scrollbars in main form?
Last edited by Freiza on Sun Mar 11, 2012 5:27 am; edited 1 time in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sat Mar 10, 2012 5:51 pm Post subject: |
|
|
memoryrecordhotkey_getDescription returns the optional description of a hotkey entry
memoryrecordhotkey_getHotkeyString returns the hotkey keys as a string
there is no tab or scrollbar support, but you can create a button that when clicked hides all nonrelated panels and only shows a specific panel
_________________
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 |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Sat Mar 10, 2012 6:11 pm Post subject: |
|
|
Please give me an example I am not getting it.
like I am not getting what to pass as parameter.
and how do I use
addresslist_getMemoryRecordByID(addresslist, ID)
Using description was easy because I set that description but what should I do with ID?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sat Mar 10, 2012 6:35 pm Post subject: |
|
|
if mrh is a memoryrecordhotkey object then you can do:
Code: |
description=memoryrecordhotkey_getDescription(mrh);
hotkeytext=memoryrecordhotkey_getHotkeyString(mrh);
control_setCaption(CEFORM_LabelX, description." - ".hotkeytext)
|
to set the text of CEFORM_LabelX
Quote: |
and how do I use
addresslist_getMemoryRecordByID(addresslist, ID)
|
Once you have the ID of a memoryrecord you can change the description as much as you want, the id never changes.
I recommend using addresslist_getMemoryRecordByDescription once (e.g in the lua script engine window) to get the id
_________________
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 |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Sat Mar 10, 2012 6:40 pm Post subject: |
|
|
Do you mean like this:
Code: | mrh =memoryrecord_getHotkeyByID(memoryrecord, 142)
description=memoryrecordhotkey_getDescription(mrh);
hotkeytext=memoryrecordhotkey_getHotkeyString(mrh);
control_setCaption(CEFORM_LabelX, description." - ".hotkeytext) |
Thank You very much.
Now please answer to xmplayer question.
|
|
Back to top |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Sun Mar 11, 2012 5:26 am Post subject: |
|
|
i have set two hotkeys for a single memory record.
',' for increase the value and '.' for decreasing the value.{it is comma and period}
But the hotkeyID is unique for each memory record now what should I do?
And,
Code: | description=memoryrecordhotkey_getDescription(mrh); |
How do I get mrh object.
Till now I am using
Code: | mrh = memoryrecord_getHotkey(memoryrecord, index) |
But index is very difficult to use. Is index starts from the first memoryrecord of cheat table or it starts from the first memory record of the group.
Is there something like
Code: | mrh = memoryrecord_getHotkey(memoryrecord, description) |
Description: |
What is the index of [[ , is increase and . is decrease (Don't tick this box) ]] this memory record |
|
Filesize: |
82.44 KB |
Viewed: |
16340 Time(s) |
|
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun Mar 11, 2012 1:18 pm Post subject: |
|
|
the index of a hotkey is a unique value specific to that memoryrecord. If you delete a hotkey and add a new one, the ID will be different
(The same as the ID of a memoryrecord is unique to the addresslist)
_________________
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 |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Sun Mar 11, 2012 3:41 pm Post subject: |
|
|
Thank You very much.
_________________
|
|
Back to top |
|
|
|