local imgui = require 'imgui'
local key = require 'vkeys'
local main_window_state = imgui.ImBool(false)
function imgui.OnDrawFrame()
if main_window_state.v then
imgui.SetNextWindowSize(imgui.ImVec2(200, 200), imgui.Cond.FirstUseEver)
imgui.Begin('[Lua] s0beit', main_window_state)
local btn_size = imgui.ImVec2(-0.1, 0)
imgui.Text('')
imgui.Button('Hacks', btn_size)
if imgui.Button('God Mode', btn_size) then
printStringNow('Player is now in God Mode', 1000)
end
imgui.Button('Anti Fall',btn_size)
imgui.Button('God Mode Vehicle', btn_size)
imgui.Button('No Collision', btn_size)
if imgui.Button('Invisible', btn_size) then
printStringNow('You are invisible!', 1000)
end
imgui.End()
end
end
function main()
while true do
wait(0)
if wasKeyPressed(key.VK_H) then
main_window_state.v = not main_window_state.v
end
imgui.Process = main_window_state.v
end
end
_=Gigant=_ said:some of my random trash xD idk maybe you find something useful
Code:local imgui = require 'imgui' local key = require 'vkeys' local main_window_state = imgui.ImBool(false) function imgui.OnDrawFrame() if main_window_state.v then imgui.SetNextWindowSize(imgui.ImVec2(200, 200), imgui.Cond.FirstUseEver) imgui.Begin('[Lua] s0beit', main_window_state) local btn_size = imgui.ImVec2(-0.1, 0) imgui.Text('') imgui.Button('Hacks', btn_size) if imgui.Button('God Mode', btn_size) then printStringNow('Player is now in God Mode', 1000) end imgui.Button('Anti Fall',btn_size) imgui.Button('God Mode Vehicle', btn_size) imgui.Button('No Collision', btn_size) if imgui.Button('Invisible', btn_size) then printStringNow('You are invisible!', 1000) end imgui.End() end end function main() while true do wait(0) if wasKeyPressed(key.VK_H) then main_window_state.v = not main_window_state.v end imgui.Process = main_window_state.v end end
doroftel said:and some examples with sliders / get slider value etc if u havePFFH:
local slider_float = imgui.ImFloat(0.0)
imgui.SliderFloat('lel', slider_float, 0.0, 1.0)
local imgui = require 'imgui'
local key = require 'vkeys'
local main_window_state = imgui.ImBool(false)
local slider_float = imgui.ImFloat(0.0)
function imgui.OnDrawFrame()
if main_window_state.v then
imgui.SetNextWindowSize(imgui.ImVec2(200, 100), imgui.Cond.FirstUseEver)
imgui.Begin('slider', main_window_state)
local btn_size = imgui.ImVec2(-0.1, 0)
imgui.Text('')
imgui.SliderFloat('lel', slider_float, 0.0, 1.0)
end
imgui.End()
end
function main()
while true do
wait(0)
if wasKeyPressed(key.VK_H) then
main_window_state.v = not main_window_state.v
end
imgui.Process = main_window_state.v
end
end
_=Gigant=_ said:doroftel said:and some examples with sliders / get slider value etc if u havePFFH:
maybe this help you with slider
Code:local slider_float = imgui.ImFloat(0.0) imgui.SliderFloat('lel', slider_float, 0.0, 1.0)
Code:local imgui = require 'imgui' local key = require 'vkeys' local main_window_state = imgui.ImBool(false) local slider_float = imgui.ImFloat(0.0) function imgui.OnDrawFrame() if main_window_state.v then imgui.SetNextWindowSize(imgui.ImVec2(200, 100), imgui.Cond.FirstUseEver) imgui.Begin('slider', main_window_state) local btn_size = imgui.ImVec2(-0.1, 0) imgui.Text('') imgui.SliderFloat('lel', slider_float, 0.0, 1.0) end imgui.End() end function main() while true do wait(0) if wasKeyPressed(key.VK_H) then main_window_state.v = not main_window_state.v end imgui.Process = main_window_state.v end end
local memory = require "memory"
memory.read(0xB79494, 4, true)
memory.write(0xB79494, 1148829695 , 4, true)
local slider_test = imgui.ImInt(25)
imgui.VSliderInt('##b', imgui.ImVec2( 30, 200), slider_test, 0, 120, 10.0, '%f')
veysileth said:tested and working examples
Memory:
Code:local memory = require "memory" memory.read(0xB79494, 4, true) memory.write(0xB79494, 1148829695 , 4, true)
Sliders
Code:local slider_test = imgui.ImInt(25) imgui.VSliderInt('##b', imgui.ImVec2( 30, 200), slider_test, 0, 120, 10.0, '%f')
calling value of slider slider_test.v
setCarCruiseSpeed(car, slider_test.v) or setCarCruiseSpeed(car, slider_test)but i think first one is good.
btw anyone knows why errorchecking is not working with moonloader on atom? ctrl alt a is working fine but some options are off.
for id = 0, 2400 do
local is_exist = sampTextdrawIsExists(id)
if is_exist then
local string = sampTextdrawGetString(id)
sampSendChat(string)
end
end
veysileth said:https://www.facebook.com/AoiOgataArtwork/
sampSendChat(string.format("%s", string))
You can just use sampSendChat(string).
Code:for id = 0, 2400 do local is_exist = sampTextdrawIsExists(id) if is_exist then local string = sampTextdrawGetString(id) sampSendChat(string) end end
is working fine on testserver