Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. comment = куда сука? иди сам пиши долбаеб!1
  2. #NoEnv
  3. #IfWinActive GTA:SA:MP
  4. ; ======================
  5. ; MENU
  6. ; ======================
  7. Menu, Tray, NoStandard
  8. Menu, Tray, DeleteAll
  9. Menu, Tray, Icon,,, 1
  10. Menu, Tray, Add, Связь с Разработчиком,Author
  11. Menu, Tray, Add,
  12. Menu, Tray, Add, Перезагрузить,Reloadd
  13. Menu, Tray, Add,
  14. Menu, Tray, Add, Закрыть скрипт,MainGuiClose
  15. Menu, Tray, color, 66c2a5
  16. IniRead, HotkeyTime, config.ini, AutoMed, Time
  17. IniRead, TypeOfHospital, config.ini, AutoMed, Bolka
  18. ; ======================
  19. ; GUI
  20. ; ======================
  21. Gui, Font, S13 CDefault, Book Antiqua
  22. Gui, Add, Text, x32 y30 w100 h30 , /time:
  23. Gui, Add, Hotkey, x142 y30 w100 h30 vHotkeyTime, %HotkeyTime%
  24. Gui, Add, Button, x32 y90 w130 h30 gAuthor, Создатель
  25. Gui, Add, Button, x192 y90 w130 h30 gHelpMe, Помощь
  26. Gui, Add, Button, x352 y90 w130 h30 gSaveConfig, Сохранить
  27. Gui, Add, Button, x147 y140 w220 h30 gApplyConfig, Применить настройки
  28. Gui, Add, DropDownList, x272 y30 w200 h130 vTypeOfHospital Choose%TypeOfHospital%, Floris Med.C.|St.Francis Med.C|Kindred Med.C
  29. Gui, Show, w518 h208, AutoMed by Thomas Streets and Anastasiya Dias || v1.0
  30. return
  31. ; ======================
  32. ; МЕТКИ
  33. ; ======================
  34. Authorr:
  35. Run, https://vk.com/id162188025
  36. return
  37. Reloadd:
  38. reload
  39. return
  40. MainGuiClose:
  41. ExitApp
  42. return
  43. Author:
  44. MsgBox, 4, Information about AutoMed, Автор скрипта AutoMed - Thomas Streets [Emerald]`n----------------------------------------------------------`nСпециально для Anastasiya Dias [Emerald]`n----------------------------------------------------------`nСвязаться с разработчиком?
  45. ifMsgBox Yes
  46. Run, https://vk.com/id162188025
  47. return
  48. HelpMe:
  49. MsgBox, 262144, Information about AutoMedHelper, Перезагрузить скрипт - F3.`nПосле изменения кнопки активации времени, нажмите "Применить настройки".`nДополнительная информация о биндах /hhelp.
  50. return
  51. SaveConfig:
  52. Gui, Submit, NoHide
  53. if(regexmatch(TypeOfHospital, "Floris Med.C."))
  54.     TypeOfHospital=1
  55. if(regexmatch(TypeOfHospital, "St.Francis Med.C"))
  56.     TypeOfHospital=2
  57. if(regexmatch(TypeOfHospital, "Kindred Med.C"))
  58.     TypeOfHospital=3
  59. IniWrite, %HotkeyTime%, config.ini, AutoMed,Time
  60. IniWrite, %TypeOfHospital%, config.ini, AutoMed, Bolka
  61. return
  62. GuiClose:
  63. gosub, SaveConfig
  64. Exitapp
  65. return
  66. ApplyConfig:
  67. IniRead, HotkeyTime, config.ini, AutoMed, Time, !1
  68. Hotkey, % HotkeyTime, LabelTime, Off, UseErrorLevel
  69. Gosub, SaveConfig
  70. Hotkey, % HotkeyTime, LabelTime, On, UseErrorLevel
  71. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement