Advertisement
Drizzy98

Untitled

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