Advertisement
Guest User

Untitled

a guest
Apr 5th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. #IfWinActive, GTA:SA:MP
  2. #include SAMP.ahk
  3. #UseHook, On
  4.  
  5.  
  6.  
  7. IfNotExist, Saves.ini ;HIER FRAGST DU AB OB ES SCHON EXISTIERT
  8. {
  9. IniWrite,%Name%,Saves.ini,Settings:,Name
  10. IniWrite,%Rank%,Saves.ini,Settings:,Rank
  11. IniWrite,%6%,Saves.ini,Keybind:,6
  12. IniWrite,%7%,Saves.ini,Keybind:,7
  13. IniWrite,%8%,Saves.ini,Keybind:,8
  14. IniWrite,%9%,Saves.ini,Keybind:,9
  15. IniWrite,%0%,Saves.ini,Keybind:,0
  16. }
  17. else
  18. {
  19. IniRead,Name,Saves.ini,Settings:,Name
  20. IniRead,Rank,Saves.ini,Settings:,Rank
  21. IniRead,6,Saves.ini,Keybind:,6
  22. IniRead,7,Saves.ini,Keybind:,7
  23. IniRead,8,Saves.ini,Keybind:,8
  24. IniRead,9,Saves.ini,Keybind:,9
  25. IniRead,0,Saves.ini,Keybind:,0
  26. }
  27.  
  28.  
  29. Gui, 1: Show, x366 y131 h489 w864, SAPD-Keybinder
  30. Gui, Add, Picture, x-8 y-1 w920 h520 , Hauptbild.png
  31. Gui, 1: Add, Button, x752 y449 w100 h30 gInfo1, Info
  32. Gui, 1: Add, Button, x542 y449 w180 h30 gSettings, Einstellungen
  33. return
  34.  
  35.  
  36. Settings:
  37. Gui, 2:Show, x321 y161 h257 w543, Einstellungen
  38. Gui, 2:Add, Picture, x-8 y-1 w550 h260 , Einstellungen.png
  39. Gui, 2:Add, Edit, x142 y29 w110 h30 vName, %Name%
  40. Gui, 2:Add, Edit, x182 y159 w120 h30 vRank, %Rank%
  41. Gui, 2:Add, Edit, x342 y29 w180 h30 v6, %6%
  42. Gui, 2:Add, Edit, x342 y109 w180 h30 v7, %7%
  43. Gui, 2:Add, Edit, x342 y189 w180 h30 v8, %8%
  44. Gui, 2:Add, Edit, x342 y69 w180 h30 v9, %9%
  45. Gui, 2:Add, Edit, x342 y149 w180 h30 v0, %0%
  46. Gui, 2:Add, Button, x12 y209 w110 h30 gSave , Speichern
  47. return
  48.  
  49. Info1:
  50. Gui, 3:Show, x127 y87 h111 w401, Info
  51. Gui, 3:Add, Text, x18 y19 w360 h70 +Left, Dieser Keybinder wurde von Recovery entwickelt.`nKommt es zu Fehlermeldungen oder Problemen melde dich bei Recovery im Forum per PN `n Version 1.0
  52.  
  53. 2GuiClose:
  54. Gui,2:destroy
  55. return
  56.  
  57. GUIclose:
  58. ExitApp
  59.  
  60. Save:
  61. Gui,Submit,Nohide
  62. IniWrite,%Name%,Saves.ini,Settings:,Name
  63. IniWrite,%Rank%,Saves.ini,Settings:,Rank
  64. IniWrite,%6%,Saves.ini,Keybind:,6
  65. IniWrite,%7%,Saves.ini,Keybind:,7
  66. IniWrite,%8%,Saves.ini,Keybind:,8
  67. IniWrite,%9%,Saves.ini,Keybind:,9
  68. IniWrite,%0%,Saves.ini,Keybind:,0
  69. Gui,Show
  70. return
  71.  
  72. Pause::
  73. Suspend
  74. return
  75.  
  76. t::
  77. Suspend On
  78. SendInput t
  79. Hotkey, Enter, On
  80. Hotkey, Escape, On
  81. Hotkey, t, Off
  82. return
  83.  
  84. NumpadEnter::
  85. Enter::
  86. Suspend Permit
  87. Suspend Off
  88. SendInput {Enter}
  89. Hotkey, t, On
  90. Hotkey, Enter, Off
  91. Hotkey, Escape, Off
  92. return
  93.  
  94. Escape::
  95. Suspend Permit
  96. Suspend Off
  97. SendInput {Escape}
  98. Hotkey, t, On
  99. Hotkey, Enter, Off
  100. Hotkey, Escape, Off
  101. return
  102.  
  103. 1::
  104. SendInput t/tazer{enter}
  105. return
  106.  
  107. 2::
  108. SendInput t/wanted{enter}
  109. return
  110.  
  111. 3::
  112. SendInput t/frisk
  113. return
  114.  
  115. 4::
  116. SendInput t/friskwaffen
  117. return
  118.  
  119. 5::
  120. SendInput t/cophelp{enter}
  121. return
  122.  
  123. 6::
  124. SendInput %6%{enter}
  125. return
  126.  
  127. 7::
  128. SendInput %7%{enter}
  129. return
  130.  
  131. 8::
  132. SendInput %8%{enter}
  133. return
  134.  
  135. 9::
  136. SendInput %9%{enter}
  137. return
  138.  
  139. 0::
  140. SendInput %0%{enter}
  141. return
  142.  
  143. n::
  144. SendInput t/buygun de 150{enter}
  145. SendInput t/buygun M4 350{enter}
  146. SendInput t/buygun Mp5 150{enter}
  147. SendInput t/buygun Rifle 30{enter}
  148. return
  149.  
  150. NumPad0::
  151. SendInput t/m >>Polizei im Einsatz{!}>>Räumen sie umgehend die Straße{!}<<{enter}
  152. return
  153.  
  154. NumPad1::
  155. SendInput t/m >>SAPD<< >>Verkehrskontrolle, halten Sie bitte rechts{!}{enter}
  156. return
  157.  
  158. NumPad2::
  159. SendInput t/m >>SAPD<< >>Bleiben sie umgehend stehen{!}{enter}
  160. return
  161.  
  162. NumPad3::
  163. SendInput t/l Guten Tag, allgemeine Verkehrskontrolle{!}{enter}
  164. SendInput t/l Ich bin %Rank% %Name% des San Andreas Police Departments.{enter}
  165. return
  166.  
  167. NumPad4::
  168. SendInput t/l Sind sie mit einer Durchsuchung einverstanden{?}{enter}
  169. return
  170.  
  171. NumPad5::
  172. SendInput t/l Zeigen Sie mir bitte ihre Lizenzen{!}{enter}
  173. SendInput t/l Nutzen Sie bitte hierfür /showlicenses %Name%{enter}
  174. return
  175.  
  176.  
  177. NumPad6::
  178. SendInput t/l Danke, Gute Fahrt.{enter}
  179. SendInput t/l Und fahren Sie vorsichtig{!}{enter}
  180. return
  181.  
  182. NumPad7::
  183. SendInput t/l Wohin sind Sie gerade unterwegs{?}{enter}
  184. return
  185.  
  186. NumPad8::
  187. SendInput t/l Öffnen Sie bitte ihren Kofferraum{!}{enter}
  188. SendInput t/l Nützen Sie hierfür /kofferraumauf{!}{enter}
  189. return
  190.  
  191. NumPad9::
  192. SendInput t/l Nehmen Sie bitte Ihre Hände hoch{!}{enter}
  193. SendInput t/l Nützen Sie hierfür /handsup{!}{enter}
  194. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement