Posted: Sun Apr 16, 2023 9:04 am Post subject: call for help
function CETrainer_CECheckbox1Click(sender)
local addressList = getAddressList()
local maxHpCheat = addressList.getMemoryRecordByDescription("MAXHP")
if maxHpCheat == nil then
showMessage("2E00470C")
return
end
local hp_address = getAddress("2E00470C")
if hp_address == nil then
showMessage("无效的地址")
return
end
if sender.State == cbChecked then
maxHpCheat.Value = 0x578
maxHpCheat.Freeze = true
writeInteger(hp_address, 1400)
else
maxHpCheat.Freeze = false
writeInteger(hp_address, 1400)
end
end
check box he can regain 1400 but can't last
when attacked again HP will drop
Code used in stand-alone games
"Resident Evil 1 HD"
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