Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- comment = куда сука? иди сам пиши долбаеб!1
- #NoEnv
- #IfWinActive GTA:SA:MP
- ; ======================
- ; MENU
- ; ======================
- Menu, Tray, NoStandard
- Menu, Tray, DeleteAll
- Menu, Tray, Icon,,, 1
- Menu, Tray, Add, Связь с Разработчиком,Author
- Menu, Tray, Add,
- Menu, Tray, Add, Перезагрузить,Reloadd
- Menu, Tray, Add,
- Menu, Tray, Add, Закрыть скрипт,MainGuiClose
- Menu, Tray, color, 66c2a5
- IniRead, HotkeyTime, config.ini, AutoMed, Time
- IniRead, TypeOfHospital, config.ini, AutoMed, Bolka
- ; ======================
- ; GUI
- ; ======================
- Gui, Font, S13 CDefault, Book Antiqua
- Gui, Add, Text, x32 y30 w100 h30 , /time:
- Gui, Add, Hotkey, x142 y30 w100 h30 vHotkeyTime, %HotkeyTime%
- Gui, Add, Button, x32 y90 w130 h30 gAuthor, Создатель
- Gui, Add, Button, x192 y90 w130 h30 gHelpMe, Помощь
- Gui, Add, Button, x352 y90 w130 h30 gSaveConfig, Сохранить
- Gui, Add, Button, x147 y140 w220 h30 gApplyConfig, Применить настройки
- Gui, Add, DropDownList, x272 y30 w200 h130 vTypeOfHospital Choose%TypeOfHospital%, Floris Med.C.|St.Francis Med.C|Kindred Med.C
- Gui, Show, w518 h208, AutoMed by Thomas Streets and Anastasiya Dias || v1.0
- return
- ; ======================
- ; МЕТКИ
- ; ======================
- Authorr:
- Run, https://vk.com/id162188025
- return
- Reloadd:
- reload
- return
- MainGuiClose:
- ExitApp
- return
- Author:
- MsgBox, 4, Information about AutoMed, Автор скрипта AutoMed - Thomas Streets [Emerald]`n----------------------------------------------------------`nСпециально для Anastasiya Dias [Emerald]`n----------------------------------------------------------`nСвязаться с разработчиком?
- ifMsgBox Yes
- Run, https://vk.com/id162188025
- return
- HelpMe:
- MsgBox, 262144, Information about AutoMedHelper, Перезагрузить скрипт - F3.`nПосле изменения кнопки активации времени, нажмите "Применить настройки".`nДополнительная информация о биндах /hhelp.
- return
- SaveConfig:
- Gui, Submit, NoHide
- if(regexmatch(TypeOfHospital, "Floris Med.C."))
- TypeOfHospital=1
- if(regexmatch(TypeOfHospital, "St.Francis Med.C"))
- TypeOfHospital=2
- if(regexmatch(TypeOfHospital, "Kindred Med.C"))
- TypeOfHospital=3
- IniWrite, %HotkeyTime%, config.ini, AutoMed,Time
- IniWrite, %TypeOfHospital%, config.ini, AutoMed, Bolka
- return
- GuiClose:
- gosub, SaveConfig
- Exitapp
- return
- ApplyConfig:
- IniRead, HotkeyTime, config.ini, AutoMed, Time, !1
- Hotkey, % HotkeyTime, LabelTime, Off, UseErrorLevel
- Gosub, SaveConfig
- Hotkey, % HotkeyTime, LabelTime, On, UseErrorLevel
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement