- 16
- 2
- Версия MoonLoader
- Другое
Lua:
script_name ('Army Helper')
script_author('Kenji')
script_version('0.1')
require "moonloader"
prefix '[Army Helper]'
local imgui = require('mimgui')
local encoding = require('encoding')
encoding.default = 'CP1251'
u8 = encoding.UTF8
fullorg = 'Неизвестно'
fullrang = 'Неизвестно'
mynick = 'Неизвестно'
myid = 'No'
chennel_dep = 'Отсутствует'
my_channel_dep = ini.dep.mytag
statsus_channel = ini.dep.status
text_status_dep = 'Неизвестно'
dsadadsadasd = ' ( Отправление твоего тега: '
sobes_status = 0
upd_status = 0
checked_stats = true
active_dep = 'Не выбран'
local function ()
ini.main.enabled = false
inicfg.save(ini, directIni)
end
--imgui
local new = imgui.new
local main_window_state = new.bool()
local debug_window_state = new.bool()
local useditems_window_state = new.bool()
local vzaim_window_state = new.bool()
local cmdhelp_window_state = new.bool()
local dep_window_state = new.bool()
local settdep_window_state = new.bool()
local sobesdh_window_state = new.bool()
local upd_window_state = new.bool()
--imgui.InputText
local leveladdpunishpopup = new.char[256]()
local reasonaddpunishpopup = new.char[255]()
local levelrempunishpopup = new.char[254]()
local reasonrempunishpopup = new.char[253]()
local cameracarcerpopup = new.char[252]()
local timecarcerpopup = new.char[251]()
local reasoncarcerpopup = new.char[250]()
local camerasetcarcerpopup = new.char[249]()
local moneyunpunishpopup = new.char[248]()
local changetagdep = new.char[247]()
local changechanneldep = new.char[246]()
--imgui прочее
local radio_change_dep = new.int()
-- КД предметов
usedarmour = 0
usedmask = 0
local helpdh = imgui.OnFrame (function () return cmdhelp_window_state [0] end, function (player))
local scrX, scrY = getScreenResolution()
imgui.SetNextWindowPos(imgui.ImVec2(scrX / 2, scrY / 2), imgui.Cond.FirstUseEver, imgui.ImVec2(0.5, 0.5));
imgui.SetNextWindowSize(imgui.ImVec2(600,400), imgui.Cond.FirstUseEver)
if imgui.Begin (u8'Список команд | Army Helper by Kenji', cmdhelp_window_state) then
imgui.Text (u8'/frisk - Обыскать заключеного')
imgui.Text (u8'/cuff - Надеть наручники на заключеного')
imgui.Text (u8'/carcer - Посадить в карцер')
imgui.Text (u8'/uncarcer - Выпустить из карцера')
imgui.Text (u8'/addpunish - Добавить срок')
imguo.Text (u8'/uncuff - Снять наручники')