Просто ставить ссылку на видео

Сообщения
-
Как добавлять видео ролики
-
RE: Выполнение команды lua на кнопках формы
Последняя версия шаблона будет здесь
Должно работать на Cheat Engine 7.5 (cheatengine-x86_64-SSE4-AVX2.exe)
-
RE: Выполнение команды lua на кнопках формы
Может так
InfiniteHealthScript = [[ [Enabled] {$lua} Print("enabled") {$asm} [Dissable] {$lua} Print("disabled") {$asm} ]]
-
RE: CE Plugin: AA Maker 2.4.2
На следующей неделе, если не забуду буду разбираться.
Скачай с gamehacklab пока, если есть доступ. -
Обновление форума
Несколько последний сообщений в результате обновления и восстановления пропали, к сожалению.
-
RE: Выполнение команды lua на кнопках формы
Заходишь в документацию
CheckBox Class: (Inheritance: ButtonControl->WinControl->Control->Component->Object) createCheckBox(owner): Creates a CheckBox class object which belongs to the given owner. Owner can be any object inherited from WinControl properties Checked: boolean - True if checked AllowGrayed: boolean - True if it can have 3 states. True/False/None State: checkboxstate - The state. (cbUnchecked=0, cbChecked=1, cbGrayed=2) OnChange: function - Function to call when the state it changed methods getAllowGrayed() setAllowGrayed(boolean) getState(): Returns a state for the checkbox. (cbUnchecked, cbChecked, cbGrayed) setState(boolean): Sets the state of the checkbox onChange(function)
По ней пишешь что-то вроде этого.
checkBox.onChange = function onChangeState(sender) local state = sender.Checked if state then enableInfiniteHealthCheat() else disableInfiniteHealthCheat() end end
-
RE: Выполнение команды lua на кнопках формы
Checkbox
local form = createForm( true ); local checkBoxes = {}; checkBoxes[1] = createCheckBox( form ); checkBoxes[2] = createCheckBox( form ); checkBoxes[3] = createCheckBox( form ); checkBoxes[4] = createCheckBox( form ); checkBoxes[5] = createCheckBox( form ); for x = 1, #checkBoxes do checkBoxes[x].Caption="This is checkbox " .. tostring( x ) checkBoxes[x].setPosition(10, x * 20) end checkBoxes[1].State=0 -- Sets checkboxes[1] to unchecked state. checkBoxes[2].State=1 -- Sets checkboxes[2] to checked state. checkBoxes[3].State=2 -- Sets checkboxes[3] to the gray state if checkBoxes[4].Checked then -- if checkboxes[4] is checked then the function returns true otherwise false. print "true" else print "false" end
Здесь как привязать обработчик
https://www.cheatengine.org/forum/viewtopic.php?p=5773901&sid=af88fa13b70a7208d528cc5aef5bba3f -
RE: Выполнение команды lua на кнопках формы
Кнопка
\--- create a form MyForm = createForm() \--- create a button (as a object) inside that form MyButton = createButton(MyForm) -- object name for button = MyButton MyButton.Left = 10 MyButton.Top = 10 MyButton.Width = 100 MyButton.Height = 40 MyButton.Caption = 'Open Link' -- Put text on the button \--- create a function which will bne execute by MyButton Click \--- provide a correct web site link function openWebsite() shellExecute('https://forum.cheatengine.org/viewtopic.php?t=608340') end \--- Execute that function with MyButton Click MyButton.onClick = openWebsite \--- show MyForm MyForm.show()