Advertisement
Drizzy98

Untitled

Dec 17th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1. #IfWinActive, GTA:SA:MP
  2. #SingleInstance, force
  3. Menu, Tray, Icon, KeybinderLogo.png
  4. SetWorkingDir %A_MyDocuments%\Drizzy Keybinder
  5.  
  6.  
  7.  
  8. ;------------------------------------------Fenster Verschiebbar machen------------------------------------------------------------------------
  9. OnMessage(0x201, "WM_LBUTTONDOWN")
  10.  
  11. WM_LBUTTONDOWN() {
  12. If A_Gui
  13. PostMessage, 0xA1, 2
  14. }
  15. ;------------------------------------------Fenster Verschiebbar machen------------------------------------------------------------------------
  16.  
  17.  
  18. ;------------------------------------------Keybinder Ordner erstellen------------------------------------------------------------------------
  19. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\
  20. {
  21. FileCreateDir, %A_MyDocuments%\Drizzy Keybinder
  22. }
  23. ;------------------------------------------Keybinder Ordner erstellen------------------------------------------------------------------------
  24.  
  25.  
  26.  
  27. ;------------------------------------------Beim Start des Keybinders.. Grafiken runterladen------------------------------------------------------------------------
  28. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\KeybinderLogo.png
  29. {
  30. UrlDownloadToFile, http://download2267.mediafire.com/m3jt57tcgttg/ccauq8qblvnnalx/KeybinderLogo.png, %A_MyDocuments%\Drizzy Keybinder\KeybinderLogo.png
  31. }
  32.  
  33. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\CreditsButton.png
  34. {
  35. UrlDownloadToFile, http://download1518.mediafire.com/cqm953hy7qsg/36ui4ifyacqouvo/CreditsButton.png, %A_MyDocuments%\Drizzy Keybinder\CreditsButton.png
  36. }
  37.  
  38. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\GovBotButton.png
  39. {
  40. UrlDownloadToFile, http://download2267.mediafire.com/f5flcwgaqqhg/z1y3nwggf138lzk/GovBotButton.png, %A_MyDocuments%\Drizzy Keybinder\GovBotButton.png
  41. }
  42.  
  43. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\TeamFunktionenButton.png
  44. {
  45. UrlDownloadToFile, http://download2266.mediafire.com/p0hhvjj0f2tg/7ps87xx3acdt9dt/TeamFunktionenButton.png, %A_MyDocuments%\Drizzy Keybinder\TeamFunktionenButton.png
  46. }
  47.  
  48. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\AllgemeineHotkeysButton.png
  49. {
  50. UrlDownloadToFile, http://download2267.mediafire.com/gccnx2aub3yg/w1snwejzqokm0u9/AllgemeineHotkeysButton.png, %A_MyDocuments%\Drizzy Keybinder\AllgemeineHotkeysButton.png
  51. }
  52.  
  53. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\KillTodSpruecheButton.png
  54. {
  55. UrlDownloadToFile, http://download2260.mediafire.com/6e0rmhdna0kg/dp4fr3ddg1o54ur/KillTodSpruecheButton.png, %A_MyDocuments%\Drizzy Keybinder\KillTodSpruecheButton.png
  56. }
  57.  
  58. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\AllgemeineEinstellungenButton.png
  59. {
  60. UrlDownloadToFile, http://download1074.mediafire.com/5agc8eyblbog/nw595uoj6wq7jyi/AllgemeineEinstellungenButton.png, %A_MyDocuments%\Drizzy Keybinder\AllgemeineEinstellungenButton.png
  61. }
  62.  
  63. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\WeaponpackBinderButton.png
  64. {
  65. UrlDownloadToFile, http://download1516.mediafire.com/j2ig4pch78ag/7h1t9355a6542wz/WeaponpackBinderButton.png, %A_MyDocuments%\Drizzy Keybinder\WeaponpackBinderButton.png
  66. }
  67.  
  68. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\KeybinderVersion.png
  69. {
  70. UrlDownloadToFile, http://download2266.mediafire.com/uep54m367ffg/buneq2k0otd8cca/KeybinderVersion.png, %A_MyDocuments%\Drizzy Keybinder\KeybinderVersion.png
  71. }
  72.  
  73. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\SpeichernButton.png
  74. {
  75. UrlDownloadToFile, http://download2262.mediafire.com/o65tt5thimbg/3whr674kqnnjr1j/SpeichernButton.png, %A_MyDocuments%\Drizzy Keybinder\SpeichernButton.png
  76. }
  77.  
  78. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\NeuigkeitenUEberschrift.png
  79. {
  80. UrlDownloadToFile, http://download2263.mediafire.com/8mmzfsx36csg/z5ibv7tfgqa8ryb/NeuigkeitenUEberschrift.png, %A_MyDocuments%\Drizzy Keybinder\NeuigkeitenUEberschrift.png
  81. }
  82.  
  83. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\BaldVerfuegbarButton.png
  84. {
  85. UrlDownloadToFile, http://download948.mediafire.com/kfh4nbal3o2g/e4z479mizn3bfdv/BaldVerfuegbarButton.png, %A_MyDocuments%\Drizzy Keybinder\BaldVerfuegbarButton.png
  86. }
  87.  
  88. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\MinimierenButton.png
  89. {
  90. UrlDownloadToFile, http://download2268.mediafire.com/sp9ntb7zi9eg/jprp3xit97c1lk6/MinimierenButton.png, %A_MyDocuments%\Drizzy Keybinder\MinimierenButton.png
  91. }
  92.  
  93. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\RespawnBinderButton.png
  94. {
  95. UrlDownloadToFile, http://download2260.mediafire.com/1b6rgjb5xoug/p1chtq5wz16uemk/RespawnBinderButton.png, %A_MyDocuments%\Drizzy Keybinder\RespawnBinderButton.png
  96. }
  97.  
  98. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\ExitButton.png
  99. {
  100. UrlDownloadToFile, http://download2263.mediafire.com/a0icquf41xsg/m1o0b81339s1p81/ExitButton.png, %A_MyDocuments%\Drizzy Keybinder\ExitButton.png
  101. }
  102.  
  103. IfNotExist, %A_MyDocuments%\Drizzy Keybinder\AllgemeineHotkeysueberschrift.png
  104. {
  105. UrlDownloadToFile, http://download2260.mediafire.com/9u7zwdqjm0lg/l3i9b3ccc3eo3ic/AllgemeineHotkeysueberschrift.png, %A_MyDocuments%\Drizzy Keybinder\AllgemeineHotkeysueberschrift.png
  106. }
  107. ;------------------------------------------Beim Start des Keybinders.. Grafiken runterladen------------------------------------------------------------------------
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. ;{------------------------------------------Startseite des Driho Keybinder´s------------------------------------------------------------------------
  117. Gui,1: Show, w696 h363, Drizzy Keybinder V.0.1
  118. Gui,1:-caption
  119. Gui,1: Color, 009999
  120. Gui,1: Add, Edit, x32 y49 w290 h280 gNeuigkeiten, Neuigkeiten Funktion.
  121. Gui,1: Add, Picture, x1 y1 w30 h30 , %A_MyDocuments%\Drizzy Keybinder\KeybinderLogo.png
  122. Gui,1: Add, Picture, x672 y0 w30 h30 gSchließen, %A_MyDocuments%\Drizzy Keybinder\ExitButton.png
  123. Gui,1: Add, Picture, x642 y0 w30 h30 gMinimieren, %A_MyDocuments%\Drizzy Keybinder\\MinimierenButton.png
  124. Gui,1: Add, Picture, x72 y9 w200 h40 , %A_MyDocuments%\Drizzy Keybinder\NeuigkeitenUEberschrift.png
  125. Gui,1: Add, Picture, x352 y49 w140 h40 gAllgemeineHotkeys, %A_MyDocuments%\Drizzy Keybinder\AllgemeineHotkeysButton.png
  126. Gui,1: Add, Picture, x522 y49 w140 h40 gAllgemeineEinstellungen, %A_MyDocuments%\Drizzy Keybinder\AllgemeineEinstellungenButton.png
  127. Gui,1: Add, Picture, x352 y109 w140 h40 gWeaponpackBinder, %A_MyDocuments%\Drizzy Keybinder\WeaponpackBinderButton.png
  128. Gui,1: Add, Picture, x522 y169 w140 h40 , %A_MyDocuments%\Drizzy Keybinder\BaldVerfuegbarButton.png
  129. Gui,1: Add, Picture, x352 y229 w140 h40 gGovBot, %A_MyDocuments%\Drizzy Keybinder\GovBotButton.png
  130. Gui,1: Add, Picture, x352 y289 w140 h40 gTeamFunktionen, %A_MyDocuments%\Drizzy Keybinder\TeamFunktionenButton.png
  131. Gui,1: Add, Picture, x522 y109 w140 h40 gKillTodSprüche, %A_MyDocuments%\Drizzy Keybinder\KillTodSpruecheButton.png
  132. Gui,1: Add, Picture, x352 y169 w140 h40 , %A_MyDocuments%\Drizzy Keybinder\BaldVerfuegbarButton.png
  133. Gui,1: Add, Picture, x522 y229 w140 h40 gRespawnBinder, %A_MyDocuments%\Drizzy Keybinder\RespawnBinderButton.png
  134. Gui,1: Add, Picture, x522 y289 w140 h40 gCredits, %A_MyDocuments%\Drizzy Keybinder\CreditsButton.png
  135. Gui,1: Add, Picture, x32 y329 w140 h40 , %A_MyDocuments%\Drizzy Keybinder\KeybinderVersion.png
  136. Gui,1: Font, s16, Verdana
  137. return
  138.  
  139. Schließen:
  140. ExitApp
  141. return
  142.  
  143. Minimieren:
  144. WinMinimize
  145. return
  146.  
  147. Neuigkeiten:
  148. GuiControl, Disable, EditControl
  149. return
  150.  
  151. Box:
  152. Gui, Submit, NoHide
  153. If (EnaDis = 1)
  154. GuiControl, Enable, EditControl
  155. Else If (EnaDis = 0)
  156. GuiControl, Disable, EditControl
  157. Return
  158. ;------------------------------------------Startseite des Driho Keybinder´s------------------------------------------------------------------------
  159.  
  160.  
  161. ;------------------------------------------Allgemeine Hotkey´s Tab------------------------------------------------------------------------
  162. AllgemeineHotkeys:
  163. Gui,2: Show, w350 h300, Allgemeine Hotkey´s
  164. Gui,2:-caption
  165. Gui,2: Color, 009999
  166. Gui,2: Add, Picture, x1 y1 w30 h30 , %A_MyDocuments%\Drizzy Keybinder\KeybinderLogo.png
  167. Gui,2: Add, Picture, x326 y0 w30 h30 gExit2, C:\Users\Drizzy\Documents\Drizzy Keybinder\ExitButton.png
  168. Gui,2: Add, Picture, x296 y0 w30 h30 gMinimieren, C:\Users\Drizzy\Documents\Drizzy Keybinder\MinimierenButton.png
  169. Gui,2:Add, Picture, x75 y1 w200 h40 , C:\Users\Drizzy\Documents\Drizzy Keybinder\AllgemeineHotkeysueberschrift.png
  170. Gui,2:Add, Text, x10 y40 w120 h20 , Auto Auf-/Abschließen
  171. Gui,2:Add, Hotkey, x10 y60 w120 h20 , %Key1% ;Auto auf/abschließen
  172. Gui,2:Add, Text, x220 y39 w120 h20 , Taste Zuweisen
  173. Gui,2:Add, Hotkey, x220 y59 w120 h20 , %key3% ;Taste zuweisen
  174. Gui,2:Add, Text, x10 y90 w120 h20 , Licht an/aus
  175. Gui,2:Add, Hotkey, x10 y110 w120 h20 , %key2% ;Licht an/ausschalten
  176. Gui,2:Add, Text, x10 y140 w120 h20 , Gold nutzen
  177. Gui,2:Add, Hotkey, x10 y160 w120 h20 , %key5% ;Gold nutzen
  178. Gui,2:Add, Text, x220 y90 w120 h20 , Tor aufmachen
  179. Gui,2:Add, Hotkey, x220 y110 w120 h20, %key4% ;Tor aufmachen
  180. Gui,2:Add, Picture, x200 y280 w140 h40 gSpeichern, C:\Users\Drizzy\Documents\Drizzy Keybinder\SpeichernButton.png
  181. return
  182.  
  183. Exit2:
  184. Gui,2: Destroy
  185. Return
  186.  
  187. Speichern:
  188. Gui,Submit,NoHide
  189. IniWrite, %key1%, Tastenbelegungen.ini, Tasten: , Auto Auf/Abschließen
  190.  
  191.  
  192. MsgBox, 64, Keybinder %Name%, Drizzy Keybinder wird neu gestartet!
  193. GuiClose:
  194. ExitApp
  195. ;------------------------------------------Allgemeine Hotkey´s Tab------------------------------------------------------------------------
  196.  
  197.  
  198. ;------------------------------------------Die nächsten Seiten------------------------------------------------------------------------
  199. AllgemeineEinstellungen:
  200. Gui,3: Show, w350 h500, Allgemeine Einstellungen
  201. return
  202.  
  203. WeaponpackBinder:
  204. Gui,4: Show, w350 h500, Weaponpack Binder
  205. return
  206.  
  207. GovBot:
  208. Gui,5: Show, w350 h500, Gov Bot
  209. return
  210.  
  211. Teamfunktionen:
  212. Gui,6: Show, w350 h500, Team Funktionen
  213. return
  214.  
  215. KillTodSprüche:
  216. Gui,7: Show, w350 h500, Kill/Tod Sprüche
  217. return
  218.  
  219. RespawnBinder:
  220. Gui,8: Show, w350 h500, Respawn Binder
  221. return
  222.  
  223. Credits:
  224. Msgbox,
  225. (
  226. Ersteller des Keybinder´s : Drizzy
  227.  
  228. )
  229. return
  230. ;------------------------------------------Die nächsten Seiten------------------------------------------------------------------------
  231.  
  232.  
  233.  
  234. ;------------------------------------------Allgemeine Hotkeys ------------------------------------------------------------------------
  235.  
  236. 1::
  237. Enter::
  238. Suspend Permit
  239. Suspend Off
  240. SendInput {Enter}
  241. Hotkey, t, On
  242. Hotkey, Enter, Off
  243. Hotkey, Escape, Off
  244. return
  245.  
  246. 2::
  247. Suspend Permit
  248. Suspend Off
  249. SendInput {Escape}
  250. Hotkey, t, On
  251. Hotkey, Enter, Off
  252. Hotkey, Escape, Off
  253. return
  254. ;------------------------------------------Allgemeine Hotkeys ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement