 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
phpjunkie Cheater
Reputation: 0
Joined: 26 Dec 2022 Posts: 26 Location: Wasilla, Ak
|
Posted: Fri Jan 13, 2023 3:28 pm Post subject: I want to use a form in my table. |
|
|
I've asked this question on discord and I was told that I can load a form when I load a table, load a form from a script, and inject code from a form.
I'm hoping someone can provide some example code, so I can get an idea where to start.
|
|
| Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 510
|
Posted: Sat Jan 14, 2023 1:05 am Post subject: |
|
|
trainer form from scratch and used in NFS Carbon
| Code: | function GenerateTrainerForm()
if form then form.destroy() form=nil end
--Preset start
local edit = {}
local checkbox = {}
local button = {}
local label = {}
local comboBox = {}
local memo = {}
--Form
local form = createForm(false)
form.Height = 400
form.Width = 800
form.Caption = 'NFSC Trainer'
form.Constraints.MinHeight = 300
form.Constraints.MinWidth = 300
form.BorderStyle = bsSingle
form.Position = poScreenCenter
form.ShowInTaskBar = "stAlways"
form.FormStyle = "fsNormal"
form.PopupMode = 0
local pageControl = createPageControl(form)
pageControl.Align = alLeft
pageControl.Width = 800
pageControl.BevelOuter = bvNone
local gameplayTab = pageControl.addTab()
gameplayTab.setCaption("Gameplay")
local weatherTab = pageControl.addTab()
weatherTab.setCaption("Weather")
local profileTab = pageControl.addTab()
profileTab.setCaption("Profile")
local cashTab = pageControl.addTab()
cashTab.setCaption("Cash")
local miscTab = pageControl.addTab()
miscTab.setCaption("Misc")
local DebugTab = pageControl.addTab()
DebugTab.setCaption("Debug")
DebugTab.Enabled = false
comboBox[1] = createComboBox(miscTab)
comboBox[1].AnchorSideLeft.Control = miscTab
comboBox[1].AnchorSideTop.Control = miscTab
comboBox[1].Width = 200
comboBox[1].BorderSpacing.Left = 5
comboBox[1].BorderSpacing.Top = 5
comboBox[2] = createComboBox(miscTab)
comboBox[2].AnchorSideLeft.Control = miscTab
comboBox[2].AnchorSideTop.Control = miscTab
comboBox[2].Width = 200
comboBox[2].BorderSpacing.Left = 5
comboBox[2].BorderSpacing.Top = 150
comboBox[3] = createComboBox(miscTab)
comboBox[3].AnchorSideLeft.Control = miscTab
comboBox[3].AnchorSideTop.Control = miscTab
comboBox[3].Width = 200
comboBox[3].BorderSpacing.Left = 580
comboBox[3].BorderSpacing.Top = 5
local function comboBoxUpdate3()
comboBox[3].clear()
for i,v in pairs(Trainer.Names.Places) do
comboBox[3].items.add(tostring(v))
end
end
if #Trainer.Names.Places > 0 then
comboBoxUpdate3()
end
comboBox[1].items.add("Game Speed")
comboBox[1].items.add("Game Animation Speed")
comboBox[1].items.add("Car Scale")
comboBox[1].items.add("Heat")
comboBox[1].items.add("Selectable Marker Count")
comboBox[1].items.add("Traffic Count")
comboBox[1].items.add("Quick Race Background Camo")
comboBox[1].items.add("Game Animation Max Wind Effect")
comboBox[1].items.add("Game Animation Max Sway Effect")
comboBox[2].items.add("San Juan") --0
comboBox[2].items.add("Blade Of Knife") --1
comboBox[2].items.add("Devils Creek Pass") --2
comboBox[2].items.add("The Curse Of The Tourist") --3
comboBox[2].items.add("Hills") --4
comboBox[2].items.add("Drift Track") --5
comboBox[2].items.add("Observation Deck") --6
comboBox[2].items.add("Travel Deadfall") --7
comboBox[2].items.add("Dead Man's Turn") --8
comboBox[2].items.add("Copper Ridge") --9
comboBox[2].items.add("Valley Of Gold") --10
comboBox[2].items.add("Eternity Pass") --11
comboBox[2].items.add("Palmont City(near safehouse)") --12
comboBox[1].setItemIndex(0)
comboBox[2].setItemIndex(0)
label[1] = createLabel(profileTab)
label[1].AnchorSideLeft.Control = profileTab
label[1].AnchorSideTop.Control = profileTab
label[1].BorderSpacing.Left = 5
label[1].BorderSpacing.Top = 5
label[1].Caption = 'Team Name:'
label[2] = createLabel(cashTab)
label[2].AnchorSideLeft.Control = cashTab
label[2].AnchorSideTop.Control = cashTab
label[2].BorderSpacing.Left = 5
label[2].BorderSpacing.Top = 5
label[2].Caption = 'Cash:'
label[3] = createLabel(profileTab)
label[3].AnchorSideLeft.Control = profileTab
label[3].AnchorSideTop.Control = profileTab
label[3].BorderSpacing.Left = 110
label[3].BorderSpacing.Top = 5
label[3].Caption = 'Profile Name:'
edit[1] = createEdit(profileTab)
edit[1].AnchorSideLeft.Control = profileTab
edit[1].AnchorSideTop.Control = profileTab
edit[1].Width = 100
edit[1].BorderSpacing.Left = 5
edit[1].BorderSpacing.Top = 25
edit[1].Text = readString('[["NFSC.exe"+0068AD08]+4]+38')
edit[1].MaxLength = 15
edit[2] = createEdit(cashTab)
edit[2].AnchorSideLeft.Control = cashTab
edit[2].AnchorSideTop.Control = cashTab
edit[2].Width = 100
edit[2].BorderSpacing.Left = 5
edit[2].BorderSpacing.Top = 25
edit[2].Text = readInteger('[[0xA8AD08]+4]+54')
edit[3] = createEdit(miscTab) --Main combo box text/number editor
edit[3].AnchorSideLeft.Control = miscTab
edit[3].AnchorSideTop.Control = miscTab
edit[3].Width = 200
edit[3].BorderSpacing.Left = 5
edit[3].BorderSpacing.Top = 30
edit[4] = createEdit(miscTab)
edit[4].AnchorSideLeft.Control = miscTab
edit[4].AnchorSideTop.Control = miscTab
edit[4].Width = 200
edit[4].Height = 20
edit[4].BorderSpacing.Left = 5
edit[4].BorderSpacing.Top = 55
edit[5] = createEdit(miscTab)
edit[5].AnchorSideLeft.Control = miscTab
edit[5].AnchorSideTop.Control = miscTab
edit[5].Width = 200
edit[5].Height = 20
edit[5].BorderSpacing.Left = 5
edit[5].BorderSpacing.Top = 75
edit[6] = createEdit(miscTab)
edit[6].AnchorSideLeft.Control = miscTab
edit[6].AnchorSideTop.Control = miscTab
edit[6].Width = 200
edit[6].Height = 20
edit[6].BorderSpacing.Left = 5
edit[6].BorderSpacing.Top = 95
edit[7] = createEdit(profileTab)
edit[7].AnchorSideLeft.Control = profileTab
edit[7].AnchorSideTop.Control = profileTab
edit[7].Width = 100
edit[7].BorderSpacing.Left = 110
edit[7].BorderSpacing.Top = 25
edit[7].Text = readString('[[[0xA97A7C]+D4]+0]+10')
edit[7].MaxLength = 15
button[1] = createButton(miscTab)
button[1].AnchorSideLeft.Control = miscTab
button[1].AnchorSideTop.Control = miscTab
button[1].Width = 100
button[1].BorderSpacing.Left = 5
button[1].BorderSpacing.Top = 120
button[1].Caption = "Get Coords"
button[2] = createButton(miscTab)
button[2].AnchorSideLeft.Control = miscTab
button[2].AnchorSideTop.Control = miscTab
button[2].Width = 100
button[2].BorderSpacing.Left = 105
button[2].BorderSpacing.Top = 120
button[2].Caption = "Teleport to"
button[3] = createButton(miscTab)
button[3].AnchorSideLeft.Control = miscTab
button[3].AnchorSideTop.Control = miscTab
button[3].Width = 200
button[3].BorderSpacing.Left = 5
button[3].BorderSpacing.Top = 175
button[3].Caption = 'Force Pursuit Start'
button[4] = createButton(form)
button[4].AnchorSideLeft.Control = form
button[4].AnchorSideTop.Control = form
button[4].Width = 120
button[4].BorderSpacing.Left = form.Width - 120
button[4].BorderSpacing.Top = 0
button[4].Caption = 'Re-Attach to NFSC'
button[5] = createButton(gameplayTab)
button[5].AnchorSideLeft.Control = gameplayTab
button[5].AnchorSideTop.Control = gameplayTab
button[5].Width = 120
button[5].BorderSpacing.Left = form.Width - button[5].Width - 5
button[5].BorderSpacing.Top = 0
button[5].Caption = 'Random Effects'
button[6] = createButton(DebugTab)
button[6].AnchorSideLeft.Control = DebugTab
button[6].AnchorSideTop.Control = DebugTab
button[6].Width = 150
button[6].BorderSpacing.Left = 5
button[6].BorderSpacing.Top = 5
button[6].Caption = 'Print checkboxes names'
button[7] = createButton(miscTab)
button[7].AnchorSideLeft.Control = miscTab
button[7].AnchorSideTop.Control = miscTab
button[7].Width = 200
button[7].BorderSpacing.Left = 5
button[7].BorderSpacing.Top = 200
button[7].Caption = 'Force Jump To Safehouse'
button[8] = createButton(miscTab)
button[8].AnchorSideLeft.Control = miscTab
button[8].AnchorSideTop.Control = miscTab
button[8].Width = 100
button[8].BorderSpacing.Left = 475
button[8].BorderSpacing.Top = 5
button[8].Caption = 'Add to list'
button[9] = createButton(miscTab)
button[9].AnchorSideLeft.Control = miscTab
button[9].AnchorSideTop.Control = miscTab
button[9].Width = 100
button[9].BorderSpacing.Left = 475
button[9].BorderSpacing.Top = 30
button[9].Caption = 'Clear list'
button[10] = createButton(miscTab)
button[10].AnchorSideLeft.Control = miscTab
button[10].AnchorSideTop.Control = miscTab
button[10].Width = 100
button[10].BorderSpacing.Left = 475
button[10].BorderSpacing.Top = 55
button[10].Caption = 'Write in file'
button[11] = createButton(miscTab)
button[11].AnchorSideLeft.Control = miscTab
button[11].AnchorSideTop.Control = miscTab
button[11].Width = 100
button[11].BorderSpacing.Left = 475
button[11].BorderSpacing.Top = 80
button[11].Caption = 'Read file'
button[12] = createButton(miscTab)
button[12].AnchorSideLeft.Control = miscTab
button[12].AnchorSideTop.Control = miscTab
button[12].Width = 100
button[12].BorderSpacing.Left = 475
button[12].BorderSpacing.Top = 105
button[12].Caption = 'Reload'
button[13] = createButton(miscTab)
button[13].AnchorSideLeft.Control = miscTab
button[13].AnchorSideTop.Control = miscTab
button[13].Width = 200
button[13].BorderSpacing.Left = 5
button[13].BorderSpacing.Top = 225
button[13].Caption = 'Remove every vehicle'
button[14] = createButton(miscTab)
button[14].AnchorSideLeft.Control = miscTab
button[14].AnchorSideTop.Control = miscTab
button[14].Width = 200
button[14].BorderSpacing.Left = 5
button[14].BorderSpacing.Top = 250
button[14].Caption = 'Teleport every vehicle to you'
button[15] = createButton(miscTab)
button[15].AnchorSideLeft.Control = miscTab
button[15].AnchorSideTop.Control = miscTab
button[15].Width = 200
button[15].BorderSpacing.Left = 5
button[15].BorderSpacing.Top = 275
button[15].Caption = 'Install NOS'
button[16] = createButton(miscTab)
button[16].AnchorSideLeft.Control = miscTab
button[16].AnchorSideTop.Control = miscTab
button[16].Width = 200
button[16].BorderSpacing.Left = 5
button[16].BorderSpacing.Top = 300
button[16].Caption = 'Un-Install NOS'
checkbox[1] = createCheckBox(cashTab)
checkbox[1].AnchorSideLeft.Control = cashTab
checkbox[1].AnchorSideTop.Control = cashTab
checkbox[1].BorderSpacing.Left = 5
checkbox[1].BorderSpacing.Top = 50
checkbox[1].Caption = 'Freeze Money'
checkbox[2] = createCheckBox(weatherTab)
checkbox[2].AnchorSideLeft.Control = weatherTab
checkbox[2].AnchorSideTop.Control = weatherTab
checkbox[2].BorderSpacing.Left = 5
checkbox[2].BorderSpacing.Top = 5
checkbox[2].Caption = 'Always Rain'
checkbox[3] = createCheckBox(weatherTab)
checkbox[3].AnchorSideLeft.Control = weatherTab
checkbox[3].AnchorSideTop.Control = weatherTab
checkbox[3].BorderSpacing.Left = 5
checkbox[3].BorderSpacing.Top = 20
checkbox[3].Caption = 'Enable Fog'
checkbox[4] = createCheckBox(gameplayTab)
checkbox[4].AnchorSideLeft.Control = gameplayTab
checkbox[4].AnchorSideTop.Control = gameplayTab
checkbox[4].BorderSpacing.Left = 5
checkbox[4].BorderSpacing.Top = 5
checkbox[4].Caption = 'NIS Drift'
checkbox[5] = createCheckBox(gameplayTab)
checkbox[5].AnchorSideLeft.Control = gameplayTab
checkbox[5].AnchorSideTop.Control = gameplayTab
checkbox[5].BorderSpacing.Left = 5
checkbox[5].BorderSpacing.Top = 20
checkbox[5].Caption = 'Unlock All Things'
checkbox[6] = createCheckBox(gameplayTab)
checkbox[6].AnchorSideLeft.Control = gameplayTab
checkbox[6].AnchorSideTop.Control = gameplayTab
checkbox[6].BorderSpacing.Left = 5
checkbox[6].BorderSpacing.Top = 35
checkbox[6].Caption = 'Uncensored Busted Screen'
checkbox[7] = createCheckBox(gameplayTab)
checkbox[7].AnchorSideLeft.Control = gameplayTab
checkbox[7].AnchorSideTop.Control = gameplayTab
checkbox[7].BorderSpacing.Left = 5
checkbox[7].BorderSpacing.Top = 50
checkbox[7].Caption = 'No Busted'
checkbox[8] = createCheckBox(gameplayTab)
checkbox[8].AnchorSideLeft.Control = gameplayTab
checkbox[8].AnchorSideTop.Control = gameplayTab
checkbox[8].BorderSpacing.Left = 5
checkbox[8].BorderSpacing.Top = 65
checkbox[8].Caption = 'Skip Movies'
checkbox[9] = createCheckBox(gameplayTab)
checkbox[9].AnchorSideLeft.Control = gameplayTab
checkbox[9].AnchorSideTop.Control = gameplayTab
checkbox[9].BorderSpacing.Left = 5
checkbox[9].BorderSpacing.Top = 80
checkbox[9].Caption = 'Skip NISs'
checkbox[10] = createCheckBox(gameplayTab)
checkbox[10].AnchorSideLeft.Control = gameplayTab
checkbox[10].AnchorSideTop.Control = gameplayTab
checkbox[10].BorderSpacing.Left = 5
checkbox[10].BorderSpacing.Top = 95
checkbox[10].Caption = "Force Collector's Edition"
checkbox[11] = createCheckBox(gameplayTab)
checkbox[11].AnchorSideLeft.Control = gameplayTab
checkbox[11].AnchorSideTop.Control = gameplayTab
checkbox[11].BorderSpacing.Left = 5
checkbox[11].BorderSpacing.Top = 110
checkbox[11].Caption = 'Debug Car Customize'
checkbox[12] = createCheckBox(gameplayTab)
checkbox[12].AnchorSideLeft.Control = gameplayTab
checkbox[12].AnchorSideTop.Control = gameplayTab
checkbox[12].BorderSpacing.Left = 5
checkbox[12].BorderSpacing.Top = 125
checkbox[12].Caption = 'Infinite Crewmember Power'
checkbox[13] = createCheckBox(gameplayTab)
checkbox[13].AnchorSideLeft.Control = gameplayTab
checkbox[13].AnchorSideTop.Control = gameplayTab
checkbox[13].BorderSpacing.Left = 5
checkbox[13].BorderSpacing.Top = 140
checkbox[13].Caption = 'Infinite NOS'
checkbox[14] = createCheckBox(gameplayTab)
checkbox[14].AnchorSideLeft.Control = gameplayTab
checkbox[14].AnchorSideTop.Control = gameplayTab
checkbox[14].BorderSpacing.Left = 5
checkbox[14].BorderSpacing.Top = 155
checkbox[14].Caption = 'Infinite SB'
checkbox[15] = createCheckBox(gameplayTab)
checkbox[15].AnchorSideLeft.Control = gameplayTab
checkbox[15].AnchorSideTop.Control = gameplayTab
checkbox[15].BorderSpacing.Left = 5
checkbox[15].BorderSpacing.Top = 170
checkbox[15].Caption = 'Disable Light Streaks'
checkbox[16] = createCheckBox(gameplayTab)
checkbox[16].AnchorSideLeft.Control = gameplayTab
checkbox[16].AnchorSideTop.Control = gameplayTab
checkbox[16].BorderSpacing.Left = 5
checkbox[16].BorderSpacing.Top = 185
checkbox[16].Caption = 'Disable Hud Shake Effect'
checkbox[17] = createCheckBox(gameplayTab)
checkbox[17].AnchorSideLeft.Control = gameplayTab
checkbox[17].AnchorSideTop.Control = gameplayTab
checkbox[17].BorderSpacing.Left = 5
checkbox[17].BorderSpacing.Top = 200
checkbox[17].Caption = 'Show All Cars In FE'
checkbox[17].ShowHint = true
checkbox[17].Hint = 'WORKS FOR NEW SAVES ONLY:More stock cars in FE'
checkbox[18] = createCheckBox(gameplayTab)
checkbox[18].AnchorSideLeft.Control = gameplayTab
checkbox[18].AnchorSideTop.Control = gameplayTab
checkbox[18].BorderSpacing.Left = 5
checkbox[18].BorderSpacing.Top = 215
checkbox[18].Caption = 'Drift Physics Control'
checkbox[18].ShowHint = true
checkbox[18].Hint = "Drift Physics(F1)"
checkbox[19] = createCheckBox(gameplayTab)
checkbox[19].AnchorSideLeft.Control = gameplayTab
checkbox[19].AnchorSideTop.Control = gameplayTab
checkbox[19].BorderSpacing.Left = 5
checkbox[19].BorderSpacing.Top = 230
checkbox[19].Caption = 'Hud On Look Back'
checkbox[19].ShowHint = true
checkbox[19].Hint = "Don't hide HUD on Look Back Cam"
checkbox[20] = createCheckBox(gameplayTab)
checkbox[20].AnchorSideLeft.Control = gameplayTab
checkbox[20].AnchorSideTop.Control = gameplayTab
checkbox[20].BorderSpacing.Left = 5
checkbox[20].BorderSpacing.Top = 245
checkbox[20].Caption = 'Cop Toggle Switch'
checkbox[20].ShowHint = true
checkbox[20].Hint = "Toggle Cops(T)"
checkbox[21] = createCheckBox(gameplayTab)
checkbox[21].AnchorSideLeft.Control = gameplayTab
checkbox[21].AnchorSideTop.Control = gameplayTab
checkbox[21].BorderSpacing.Left = 5
checkbox[21].BorderSpacing.Top = 260
checkbox[21].Caption = 'AI Control'
checkbox[21].ShowHint = true
checkbox[21].Hint = "Toggle Autodrive(F8)"
checkbox[22] = createCheckBox(gameplayTab)
checkbox[22].AnchorSideLeft.Control = gameplayTab
checkbox[22].AnchorSideTop.Control = gameplayTab
checkbox[22].BorderSpacing.Left = 5
checkbox[22].BorderSpacing.Top = 275
checkbox[22].Caption = 'Debug Camera'
checkbox[22].ShowHint = true
checkbox[22].Hint = "Toggle Debug Camera(~)"
checkbox[23] = createCheckBox(gameplayTab)
checkbox[23].AnchorSideLeft.Control = gameplayTab
checkbox[23].AnchorSideTop.Control = gameplayTab
checkbox[23].BorderSpacing.Left = 5
checkbox[23].BorderSpacing.Top = 290
checkbox[23].Caption = 'Debug Watch Car'
checkbox[23].ShowHint = true
checkbox[23].Hint = "Toggle Debug Watch Car(F2)"
checkbox[24] = createCheckBox(gameplayTab)
checkbox[24].AnchorSideLeft.Control = gameplayTab
checkbox[24].AnchorSideTop.Control = gameplayTab
checkbox[24].BorderSpacing.Left = 5
checkbox[24].BorderSpacing.Top = 305
checkbox[24].Caption = 'Unlock special vinyls'
checkbox[24].AllowGrayed = true
checkbox[24].ShowHint = true
checkbox[24].Hint = "Unlocks special vinyls"
checkbox[25] = createCheckBox(gameplayTab)
checkbox[25].AnchorSideLeft.Control = gameplayTab
checkbox[25].AnchorSideTop.Control = gameplayTab
checkbox[25].BorderSpacing.Left = 5
checkbox[25].BorderSpacing.Top = 320
checkbox[25].Caption = 'Freeze Camera'
checkbox[26] = createCheckBox(gameplayTab)
checkbox[26].AnchorSideLeft.Control = gameplayTab
checkbox[26].AnchorSideTop.Control = gameplayTab
checkbox[26].BorderSpacing.Left = 5
checkbox[26].BorderSpacing.Top = 335
checkbox[26].Caption = 'Instant backup'
checkbox[27] = createCheckBox(gameplayTab)
checkbox[27].AnchorSideLeft.Control = gameplayTab
checkbox[27].AnchorSideTop.Control = gameplayTab
checkbox[27].BorderSpacing.Left = 5
checkbox[27].BorderSpacing.Top = 350
checkbox[27].Caption = 'Immobile Collision Fix'
checkbox[28] = createCheckBox(gameplayTab)
checkbox[28].AnchorSideLeft.Control = gameplayTab
checkbox[28].AnchorSideTop.Control = gameplayTab
checkbox[28].BorderSpacing.Left = 200
checkbox[28].BorderSpacing.Top = 5
checkbox[28].Caption = 'Show Subtitles'
checkbox[29] = createCheckBox(gameplayTab)
checkbox[29].AnchorSideLeft.Control = gameplayTab
checkbox[29].AnchorSideTop.Control = gameplayTab
checkbox[29].BorderSpacing.Left = 200
checkbox[29].BorderSpacing.Top = 20
checkbox[29].Caption = 'Heat Level'
checkbox[29].ShowHint = true
checkbox[29].Hint = 'Heat Level Control(only increment)(Keyboard +)'
checkbox[30] = createCheckBox(gameplayTab)
checkbox[30].AnchorSideLeft.Control = gameplayTab
checkbox[30].AnchorSideTop.Control = gameplayTab
checkbox[30].BorderSpacing.Left = 200
checkbox[30].BorderSpacing.Top = 35
checkbox[30].Caption = 'No Traffic'
checkbox[31] = createCheckBox(gameplayTab)
checkbox[31].AnchorSideLeft.Control = gameplayTab
checkbox[31].AnchorSideTop.Control = gameplayTab
checkbox[31].BorderSpacing.Left = 200
checkbox[31].BorderSpacing.Top = 50
checkbox[31].Caption = 'Bypass Autosculpt Slider'
checkbox[31].ShowHint = true
checkbox[31].Hint = 'Allow infinite autosculpt slider increment'
checkbox[32] = createCheckBox(gameplayTab)
checkbox[32].AnchorSideLeft.Control = gameplayTab
checkbox[32].AnchorSideTop.Control = gameplayTab
checkbox[32].BorderSpacing.Left = 200
checkbox[32].BorderSpacing.Top = 65
checkbox[32].Caption = 'Unlock cars and upgrades'
checkbox[32].ShowHint = true
checkbox[32].Hint = 'Unlock all series cars,upgrades and parts'
checkbox[33] = createCheckBox(gameplayTab)
checkbox[33].AnchorSideLeft.Control = gameplayTab
checkbox[33].AnchorSideTop.Control = gameplayTab
checkbox[33].BorderSpacing.Left = 200
checkbox[33].BorderSpacing.Top = 80
checkbox[33].Caption = 'Double Current Speed'
checkbox[33].ShowHint = true
checkbox[33].Hint = 'Hotkey(keyboard 1)'
checkbox[34] = createCheckBox(gameplayTab)
checkbox[34].AnchorSideLeft.Control = gameplayTab
checkbox[34].AnchorSideTop.Control = gameplayTab
checkbox[34].BorderSpacing.Left = 200
checkbox[34].BorderSpacing.Top = 95
checkbox[34].Caption = 'Stop Vehicle'
checkbox[34].ShowHint = true
checkbox[34].Hint = 'Hotkey(keyboard 2)'
checkbox[35] = createCheckBox(gameplayTab)
checkbox[35].AnchorSideLeft.Control = gameplayTab
checkbox[35].AnchorSideTop.Control = gameplayTab
checkbox[35].BorderSpacing.Left = 200
checkbox[35].BorderSpacing.Top = 110
checkbox[35].Caption = 'Car Jump'
checkbox[35].ShowHint = true
checkbox[35].Hint = 'Jump for 10M high(Hotkey(J))'
checkbox[36] = createCheckBox(gameplayTab)
checkbox[36].AnchorSideLeft.Control = gameplayTab
checkbox[36].AnchorSideTop.Control = gameplayTab
checkbox[36].BorderSpacing.Left = 200
checkbox[36].BorderSpacing.Top = 125
checkbox[36].Caption = 'Warp Forward'
checkbox[36].ShowHint = true
checkbox[36].Hint = 'Teleport for 10M forward(Hotkey(F))'
checkbox[37] = createCheckBox(gameplayTab)
checkbox[37].AnchorSideLeft.Control = gameplayTab
checkbox[37].AnchorSideTop.Control = gameplayTab
checkbox[37].BorderSpacing.Left = 200
checkbox[37].BorderSpacing.Top = 140
checkbox[37].Caption = 'Teleport to nearest car'
checkbox[37].ShowHint = true
checkbox[37].Hint = 'Teleport to the nearest car (I)'
checkbox[38] = createCheckBox(gameplayTab)
checkbox[38].AnchorSideLeft.Control = gameplayTab
checkbox[38].AnchorSideTop.Control = gameplayTab
checkbox[38].BorderSpacing.Left = 200
checkbox[38].BorderSpacing.Top = 155
checkbox[38].Caption = 'Remove neon barriers'
checkbox[38].ShowHint = true
checkbox[38].Hint = 'Removes barriers(WARNING:Flickering shadows)'
checkbox[39] = createCheckBox(gameplayTab)
checkbox[39].AnchorSideLeft.Control = gameplayTab
checkbox[39].AnchorSideTop.Control = gameplayTab
checkbox[39].BorderSpacing.Left = 200
checkbox[39].BorderSpacing.Top = 170
checkbox[39].Caption = 'Freeze heat level'
checkbox[39].ShowHint = true
checkbox[39].Hint = "Freezes heat level so it won't increase"
checkbox[40] = createCheckBox(gameplayTab)
checkbox[40].AnchorSideLeft.Control = gameplayTab
checkbox[40].AnchorSideTop.Control = gameplayTab
checkbox[40].BorderSpacing.Left = 200
checkbox[40].BorderSpacing.Top = 185
checkbox[40].Caption = 'Garage hacks'
checkbox[40].ShowHint = true
checkbox[40].Hint = "Allows you to zoom camera in garage,showcase and rotate"
checkbox[41] = createCheckBox(gameplayTab)
checkbox[41].AnchorSideLeft.Control = gameplayTab
checkbox[41].AnchorSideTop.Control = gameplayTab
checkbox[41].BorderSpacing.Left = 200
checkbox[41].BorderSpacing.Top = 200
checkbox[41].Caption = 'Pursuit Action Mode'
checkbox[41].ShowHint = true
checkbox[41].Hint = "Harder Pursuits in Quick Races"
checkbox[42] = createCheckBox(gameplayTab)
checkbox[42].AnchorSideLeft.Control = gameplayTab
checkbox[42].AnchorSideTop.Control = gameplayTab
checkbox[42].BorderSpacing.Left = 200
checkbox[42].BorderSpacing.Top = 215
checkbox[42].Caption = 'Unlock all cars'
checkbox[42].ShowHint = true
checkbox[42].Hint = "Unlocks all cars in FE(bonus cars and etc.),crashes when you are in safehouse car selection"
checkbox[43] = createCheckBox(gameplayTab)
checkbox[43].AnchorSideLeft.Control = gameplayTab
checkbox[43].AnchorSideTop.Control = gameplayTab
checkbox[43].BorderSpacing.Left = 200
checkbox[43].BorderSpacing.Top = 230
checkbox[43].Caption = 'Ghost Car'
checkbox[43].ShowHint = true
checkbox[43].Hint = "Makes your car uncollidable,still can't go through walls"
form.OnClose = function(sender)
--[[
for i,v in pairs(checkbox) do
if checkbox[i].Checked then
checkbox[i].Checked = false
end
end
--]] --Currently spaming "Error:Access Violation"
return caFree
end
local timer = createTimer(form)
timer.Enabled = true
timer.Interval = 500
timer.OnTimer = function()
if not IsAttached() then
return
end
edit[1].Text = readString('[[0xA8AD08]+4]+38')
edit[7].Text = readString('[[[0xA97A7C]+D4]+0]+10')
edit[2].Text = readInteger('[[0xA8AD08]+4]+54')
end
profileTab.OnClick = function(sender)
edit[1].Text = readString('[[0xA8AD08]+4]+38')
edit[7].Text = readString('[[[0xA97A7C]+D4]+0]+10')
end
cashTab.OnClick = function(sender)
edit[2].Text = readInteger('[[0xA8AD08]+4]+54')
end
edit[1].OnChange = function(sender)
rewriteString("[[0xA8AD08]+4]+38",sender.Text)
end
edit[7].OnChange = function(sender)
rewriteString("[[[0xA97A7C]+D4]+0]+10",sender.Text)
end
edit[2].OnChange = function(sender)
writeInteger('[[0xA8AD08]+4]+54',sender.Text)
end
comboBox[1].OnChange = function(sender)
if comboBox[1].getItemIndex() == 0 then
edit[3].OnChange = function(sender)
SetGameSpeed(tonumber(sender.Text))
end
edit[3].Text = readFloat(0xA712AC)
elseif comboBox[1].getItemIndex() == 1 then
edit[3].OnChange = function(sender)
writeFloat(0xA798B4,sender.Text)
end
edit[3].Text = readFloat(0xA798B4)
elseif comboBox[1].getItemIndex() == 2 then
edit[3].OnChange = function(sender)
writeFloat(0x7AD540,sender.Text)
writeFloat(0x7AD572,sender.Text)
writeFloat(0x7AD5A4,sender.Text)
end
edit[3].Text = readFloat(0x7AD540)
elseif comboBox[1].getItemIndex() == 3 then
edit[3].OnChange = function(sender)
if tonumber(sender.Text) == nil then
return
end
if checkbox[39].Checked then
writeFloat("[0xAA7724]+14",tonumber(sender.Text)+.005)
return
end
Game_SetWorldHeat(tonumber(sender.Text))
end
edit[3].Text = readFloat('[0xAB0B80]+80')
elseif comboBox[1].getItemIndex() == 4 then
edit[3].OnChange = function(sender)
SelectableMarkerCount(tonumber(sender.Text))
end
edit[3].Text = readBytes(0x84E937)
elseif comboBox[1].getItemIndex() == 5 then
edit[3].OnChange = function(sender)
SetTrafficCount(tonumber(sender.Text))
end
edit[3].Text = readBytes(0x412ADE)
elseif comboBox[1].getItemIndex() == 6 then
edit[3].OnChange = function(sender)
QuickRaceBackgroundCamo(tonumber(sender.Text))
end
edit[3].Text = readInteger(0x9C8777) - 0x30
elseif comboBox[1].getItemIndex() == 7 then
edit[3].OnChange = function(sender)
writeFloat(0xA798B8,tonumber(sender.Text))
end
edit[3].Text = readFloat(0xA798B8)
elseif comboBox[1].getItemIndex() == 8 then
edit[3].OnChange = function(sender)
writeFloat(0xA798B0,tonumber(sender.Text))
end
edit[3].Text = readFloat(0xA798B0)
end
end
comboBox[2].OnChange = function(sender)
local pos = {}
pos[0] = Vector.new(-2050.5168457031, 14.405729293823, -2539.2463378906)
pos[1] = Vector.new(-6168.9741210938, 778.57025146484, -2561.8513183594)
pos[2] = Vector.new(-11085.451171875, 585.91271972656, 7298.76953125)
pos[3] = Vector.new(-9366.1162109375, 713.10174560547, -3448.248046875)
pos[4] = Vector.new(-12576.081054688, 712.96868896484, -3057.7487792969)
pos[5] = Vector.new(-7779.75390625, 1.1855914592743, -1133.5827636719)
pos[6] = Vector.new(-10689.555664063, 584.58111572266, 3590.193359375)
pos[7] = Vector.new(-9539.6796875, 882.43206787109, 8022.326171875)
pos[8] = Vector.new(-13001.588867188, 878.04046630859, -545.48400878906)
pos[9] = Vector.new(-6128.8364257813, 763.21734619141, -6896.7983398438)
pos[10] = Vector.new(-7992.9736328125, 488.30633544922, 5119.0458984375)
pos[11] = Vector.new(-12950.356445313, 939.25970458984, -6342.26171875)
pos[12] = Vector.new(-1153.7678222656, 48.625431060791, 4028.5532226563)
edit[4].Text, edit[5].Text, edit[6].Text = pos[sender.getItemIndex()]:unpack()
end
comboBox[3].OnChange = function(sender)
edit[4].Text,edit[5].Text,edit[6].Text = Trainer.Places[sender.getItemIndex()+1]:unpack()
end
button[1].OnClick = function(sender)
comboBox[2].setItemIndex(-1)
edit[4].Text, edit[5].Text, edit[6].Text = VehicleArray.GetPlayerVehicle():GetPosition():unpack()
end
button[2].OnClick = function(sender)
local player = VehicleArray:GetPlayerVehicle()
player:SetPosition(Vector.new(edit[4].Text, edit[5].Text, edit[6].Text))
player:SuperBrakes()
end
button[3].OnClick = function(sender)
Game_ForcePursuitStart(readFloat('[0xAB0B80]+8C'))
end
button[4].OnClick = function(sender)
if IsGameProcessExists() and not IsAttached() then
openProcess('NFSC.exe')
elseif IsAttached() and IsGameProcessExists() then
messageDialog("Already attached to game process!",mtWarning,2)
elseif not IsAttached() and not IsGameProcessExists() then
messageDialog("Unable to find and attach to NFSC!",mtWarning,2)
if messageDialog("Do you want to start the game?",mtConfirmation,mbYes,mbNo) == mrYes then
local openDialog = createOpenDialog()
openDialog.Title = "Open game process"
if not openDialog.Execute() then
return
end
createProcess(openDialog.FileName)
end
end
end
button[5].OnClick = function(sender)
for i,v in pairs(checkbox) do
v.Checked = false
end
sleep(200)
for i,v in pairs(checkbox) do
v.Checked = RandomBoolean()
end
end
button[6].OnClick = function(sender)
getLuaEngine().MenuItem5.doClick()
for i,v in pairs(checkbox) do
print(v.Caption)
end
end
button[7].OnClick = function(sender)
ForceJumpToSafeHouse()
end
local num = 0
button[8].OnClick = function(sender)
local name = inputQuery("Add teleport place","Name your place",nil)
if type(name) == nil or name == "" then
name = "undefined"
end
for i,v in pairs(Trainer.Names.Places) do
if name == tostring(v) then
if string.find(v,"%d") then
name = name..tonumber(string.gsub(v,"%a",""))+1
elseif not string.find(v,"%d") then
name = name.."-"..num
num = tonumber(num) + 1
end
end
end
Trainer.Places[#Trainer.Places+1] = VehicleArray.GetPlayerVehicle():GetPosition()
Trainer.Names.Places[#Trainer.Names.Places+1] = name
comboBoxUpdate3()
end
button[9].OnClick = function(sender)
local prompt = messageDialog("Are you sure to clear all items?",mtWarning,mbYes,mbNo)
if prompt == mrYes then
comboBox[3].clear()
Trainer.Places = {}
Trainer.Names.Places = {}
end
end
button[10].OnClick = function(sender)
local file = io.open("TrainerPlaces.lua","w+")
for i = 1,#Trainer.Places do
local s = [[
Trainer.Places[%d] = Vector.new(%f,%f,%f)
Trainer.Names.Places[%d] = "%s"
]]
file:write(s:format(i,Trainer.Places[i].x,Trainer.Places[i].y,Trainer.Places[i].z,i,Trainer.Names.Places[i]))
end
file:close()
end
button[11].OnClick = function(sender)
dofile("TrainerPlaces.lua")
comboBoxUpdate3()
end
button[12].OnClick = function(sender)
comboBoxUpdate3()
sleep(1000)
showMessage("Reloaded!")
end
button[13].OnClick = function(sender)
VehicleArray.ShutdownVehicles(false)
end
button[14].OnClick = function(sender)
for i = 1, VehicleArray.GetCurrentCount() - 1 do
local pvehicle = VehicleArray.GetPVehicle(i)
if pvehicle and pvehicle:Get() > 0 then
local player = VehicleArray.GetPlayerVehicle()
local pos = player:GetPosition()
pvehicle:SetPosition(pos)
end
end
end
button[15].OnClick = function(sender)
local engineRacer = getAddress("[[0xA9F168]+48]-0x44")
local nosInfo = readPointer(engineRacer + 0x118)
writeFloat(nosInfo + 0x0, 2)
writeFloat(nosInfo + 0x4, 1)
writeFloat(nosInfo + 0x8, 3)
writeFloat(nosInfo + 0xC, 50)
writeFloat(nosInfo + 0x10, 5)
writeFloat(nosInfo + 0x14, 30)
writeFloat(nosInfo + 0x18, 100)
writeFloat(nosInfo + 0x1C, 50)
GetVTable(engineRacer + 0x4C, 0x3C)[12](1.0)
end
button[16].OnClick = function(sender)
local engineRacer = getAddress("[[0xA9F168]+48]-0x44")
local nosInfo = readPointer(engineRacer + 0x118)
writeFloat(nosInfo + 0x0, 0)
writeFloat(nosInfo + 0x4, 0)
writeFloat(nosInfo + 0x8, 0)
writeFloat(nosInfo + 0xC, 0)
writeFloat(nosInfo + 0x10, 0)
writeFloat(nosInfo + 0x14, 0)
writeFloat(nosInfo + 0x18, 0)
writeFloat(nosInfo + 0x1C, 0)
GetVTable(engineRacer + 0x4C, 0x3C)[12](-1.0)
end
checkbox[1].OnChange = function(sender)
noMoneyOperation(sender.Checked)
end
checkbox[2].OnChange = function(sender)
alwaysRain(sender.Checked)
end
checkbox[3].OnChange = function(sender)
enableFog(sender.Checked)
end
checkbox[4].OnChange = function(sender)
nisDrift(sender.Checked)
end
checkbox[5].OnChange = function(sender)
unlockAllThings(sender.Checked)
end
checkbox[6].OnChange = function(sender)
uncensoredBustedScreen(sender.Checked)
end
checkbox[7].OnChange = function(sender)
noBusted(sender.Checked)
end
checkbox[8].OnChange = function(sender)
skipMovies(sender.Checked)
end
checkbox[9].OnChange = function(sender)
skipNISs(sender.Checked)
end
checkbox[10].OnChange = function(sender)
forceCollectorsEdition(sender.Checked)
end
checkbox[11].OnChange = function(sender)
debugCarCustomize(sender.Checked)
end
checkbox[12].OnChange = function(sender)
infiniteCrewmemberPower(sender.Checked)
end
checkbox[13].OnChange = function(sender)
fillUpNOS()
infiniteNos(sender.Checked)
end
checkbox[14].OnChange = function(sender)
fillUpSB()
infiniteSB(sender.Checked)
end
checkbox[15].OnChange = function(sender)
disableLightStreaks(sender.Checked)
end
checkbox[16].OnChange = function(sender)
disableHudShakeEffect(sender.Checked)
end
checkbox[17].OnChange = function(sender)
showAllCarsInFE(sender.Checked)
end
checkbox[18].OnChange = function(sender)
if sender.Checked then
if DriftHkey then DriftHkey.destroy() DriftHkey = nil end
local Enabled
DriftHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
Enabled = not Enabled
if Enabled then
Hud_ShowMessage("^Drift Physics Enabled!")
Game_EnableDriftPhysics()
else
Hud_ShowMessage("^Drift Physics Disabled!")
Game_DisableDriftPhysics()
end
end
end,VK_F1)
DriftHkey.delayBetweenActivate = 99999;
else
Game_DisableDriftPhysics()
if DriftHkey then DriftHkey.destroy() DriftHkey = nil end
end
end
checkbox[19].OnChange = function(sender)
hudOnLookBack(sender.Checked)
end
checkbox[20].OnChange = function(sender)
if sender.Checked then
if CopToggleHkey then CopToggleHkey.destroy() CopToggleHkey = nil end
local Enabled
CopToggleHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
Enabled = not Enabled
Game_SetCopsEnabled(not Enabled)
if Enabled then
Hud_ShowMessage("^Cops Are Disabled!")
else
Hud_ShowMessage("^Cops Are Enabled!")
end
end
end,VK_T)
CopToggleHkey.delayBetweenActivate = 99999;
else
Game_SetCopsEnabled(true)
if CopToggleHkey then CopToggleHkey.destroy() CopToggleHkey = nil end
end
end
checkbox[21].OnChange = function(sender)
if sender.Checked then
if AutoDriveHkey then AutoDriveHkey.destroy() AutoDriveHkey = nil end
local Enabled
AutoDriveHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
Enabled = not Enabled
if Enabled then
Hud_ShowMessage("^Auto Drive Enabled!")
Game_ForceAIControl()
else
Hud_ShowMessage("^Auto Drive Disabled!")
Game_ClearAIControl()
end
end
end,VK_F8)
AutoDriveHkey.delayBetweenActivate = 99999;
else
Game_ClearAIControl()
if AutoDriveHkey then AutoDriveHkey.destroy() AutoDriveHkey = nil end
end
end
checkbox[22].OnChange = function(sender)
if sender.Checked then
if DebugCameraHkey then DebugCameraHkey.destroy() DebugCameraHkey = nil end
local Enabled
DebugCameraHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 then
Enabled = not Enabled
if Enabled then
CameraAI_SetAction(1, "CDActionDebug")
else
CameraAI_SetAction(1, "CDActionDrive")
end
end
end,VK_OEM3)
DebugCameraHkey.delayBetweenActivate = 99999;
else
CameraAI_SetAction(1, "CDActionDrive")
if DebugCameraHkey then DebugCameraHkey.destroy() DebugCameraHkey = nil end
end
end
checkbox[23].OnChange = function(sender)
if sender.Checked then
if DebugWatchCarHkey then DebugWatchCarHkey.destroy() DebugWatchCarHkey = nil end
if hkey then hkey.destroy() hkey = nil end
if hkey1 then hkey1.destroy() hkey1 = nil end
local Enabled
local hkey
local hkey1
DebugWatchCarHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
Enabled = not Enabled
writeBoolean(0xA888F1,Enabled)
if Enabled then
writeInteger(0xA88914,0)
CameraAI_SetAction(1, "CDActionDebugWatchCar")
else
writeInteger(0xA88914,0)
CameraAI_SetAction(1, "CDActionDrive")
end
end
end,VK_F2)
DebugWatchCarHkey.delayBetweenActivate = 99999;
hkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and Enabled then
writeInteger(0xA88914,readInteger(0xA88914)+1)
end
end,221)
hkey.delayBetweenActivate = 99999;
hkey1 = createHotkey(function()
if IsOnFocus() and GameState() == 6 and Enabled then
writeInteger(0xA88914,readInteger(0xA88914)-1)
end
end,219)
hkey1.delayBetweenActivate = 99999;
else
writeBoolean(0xA888F1,false)
CameraAI_SetAction(1, "CDActionDrive")
if hkey then hkey.destroy() hkey = nil end
if hkey1 then hkey1.destroy() hkey1 = nil end
if DebugWatchCarHkey then DebugWatchCarHkey.destroy() DebugWatchCarHkey = nil end
end
end
checkbox[24].OnChange = function(sender)
showSpecialVinyls(sender.State)
end
checkbox[25].OnChange = function(sender)
freezeCamera(sender.Checked)
end
checkbox[26].OnChange = function(sender)
instantBackup(sender.Checked)
end
checkbox[27].OnChange = function(sender)
immobileColFix(sender.Checked)
end
checkbox[28].OnChange = function(sender)
showSubs(sender.Checked)
end
checkbox[29].OnChange = function(sender)
if sender.Checked then
if HeatUpHkey then HeatUpHkey.destroy() HeatUpHkey = nil end
local HeatLevel = 1
HeatUpHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
HeatLevel = math.floor(HeatLevel % 10)+1
if checkbox[39].Checked then
writeFloat("[0xAA7724]+14",HeatLevel+.005)
return
end
Game_SetWorldHeat(HeatLevel)
end
end,187)
HeatUpHkey.delayBetweenActivate = 99999;
else
if HeatUpHkey then HeatUpHkey.destroy() HeatUpHkey = nil end
end
end
checkbox[30].OnChange = function(sender)
writeBoolean(0xA83A4C,sender.Checked)
end
checkbox[31].OnChange = function(sender)
BypassAutosculptSlider(sender.Checked)
end
checkbox[32].OnChange = function(sender)
UnlockCarsAndTuning(sender.Checked)
end
checkbox[33].OnChange = function(sender)
if sender.Checked then
if DoubleCurrentSpeedHkey then DoubleCurrentSpeedHkey.destroy() DoubleCurrentSpeedHkey = nil end
DoubleCurrentSpeedHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
VehicleArray.GetPlayerVehicle():DoubleCurrentSpeed()
end
end,VK_1)
DoubleCurrentSpeedHkey.delayBetweenActivate = 99999;
else
if DoubleCurrentSpeedHkey then DoubleCurrentSpeedHkey.destroy() DoubleCurrentSpeedHkey = nil end
end
end
checkbox[34].OnChange = function(sender)
if sender.Checked then
if StopVehicleHkey then StopVehicleHkey.destroy() StopVehicleHkey = nil end
StopVehicleHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
VehicleArray.GetPlayerVehicle():SuperBrakes()
end
end,VK_2)
StopVehicleHkey.delayBetweenActivate = 99999;
else
if StopVehicleHkey then StopVehicleHkey.destroy() StopVehicleHkey = nil end
end
end
checkbox[35].OnChange = function(sender)
if sender.Checked then
if JMPHkey then JMPHkey.destroy() JMPHkey = nil end
JMPHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
VehicleArray.GetPlayerVehicle():CarJump(10)
end
end,VK_J)
JMPHkey.delayBetweenActivate = 99999;
else
if JMPHkey then JMPHkey.destroy() JMPHkey = nil end
end
end
checkbox[36].OnChange = function(sender)
if sender.Checked then
if ForwardHkey then ForwardHkey.destroy() ForwardHkey = nil end
ForwardHkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
VehicleArray.GetPlayerVehicle():WarpForward(10)
end
end,VK_F)
ForwardHkey.delayBetweenActivate = 99999;
else
if ForwardHkey then ForwardHkey.destroy() ForwardHkey = nil end
end
end
checkbox[37].OnChange = function(sender)
if sender.Checked then
if TeleportHotkey then TeleportHotkey.destroy() TeleportHotkey = nil end
TeleportHotkey = createHotkey(function()
if IsOnFocus() and GameState() == 6 and not IsGamePaused() then
local player = VehicleArray.GetPlayerVehicle()
local otherVehicle = VehicleArray.GetPVehicle(GetNearestCarId())
player:TeleportTo(otherVehicle, -10)
end
end,VK_I)
TeleportHotkey.delayBetweenActivate = 99999;
else
if TeleportHotkey then TeleportHotkey.destroy() TeleportHotkey = nil end
end
end
checkbox[38].OnChange = function(sender)
RemoveNeonBarriers(sender.Checked)
end
checkbox[39].OnChange = function(sender)
FreezeWorldHeat(sender.Checked)
end
checkbox[40].OnChange = function(sender)
GarageHacks(sender.Checked)
end
checkbox[41].OnChange = function(sender)
PursuitActionMode(sender.Checked)
end
checkbox[42].OnChange = function(sender)
UnlockAllCars(sender.Checked)
end
checkbox[43].OnChange = function(sender)
GhostCar(sender.Checked)
end
return form
end |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Sat Jan 14, 2023 2:12 am Post subject: |
|
|
You can also use the formdesigner and then formname.show()
_________________
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 |
|
 |
|
|
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
|
|