Advertisement
Guest User

Untitled

a guest
Apr 6th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. #include SAMP.ahk
  2. IfNotExist, Saves.ini ;HIER FRAGST DU AB OB ES SCHON EXISTIERT
  3. {
  4. IniWrite,%Name%,Saves.ini,Settings:,Name
  5. IniWrite,%Rank%,Saves.ini,Settings:,Rank
  6. IniWrite,%6%,Saves.ini,Keybind:,6
  7. IniWrite,%7%,Saves.ini,Keybind:,7
  8. IniWrite,%8%,Saves.ini,Keybind:,8
  9. IniWrite,%9%,Saves.ini,Keybind:,9
  10. IniWrite,%0%,Saves.ini,Keybind:,0
  11. }
  12. else
  13. {
  14. IniRead,Name,Saves.ini,Settings:,Name
  15. IniRead,Rank,Saves.ini,Settings:,Rank
  16. IniRead,6,Saves.ini,Keybind:,6
  17. IniRead,7,Saves.ini,Keybind:,7
  18. IniRead,8,Saves.ini,Keybind:,8
  19. IniRead,9,Saves.ini,Keybind:,9
  20. IniRead,0,Saves.ini,Keybind:,0
  21. }
  22.  
  23.  
  24. Gui, 1: Show, x366 y131 h489 w864, SAPD-Keybinder
  25. Gui, Add, Picture, x-8 y-1 w920 h520 , Hauptbild.png
  26. Gui, 1: Add, Button, x752 y449 w100 h30 gInfo1, Info
  27. Gui, 1: Add, Button, x542 y449 w180 h30 gSettings, Einstellungen
  28. return
  29.  
  30.  
  31. Settings:
  32. Gui, 2:Show, x321 y161 h257 w543, Einstellungen
  33. Gui, 2:Add, Picture, x-8 y-1 w550 h260 , Einstellungen.png
  34. Gui, 2:Add, Edit, x142 y29 w110 h30 vName, %Name%
  35. Gui, 2:Add, Edit, x182 y159 w120 h30 vRank, %Rank%
  36. Gui, 2:Add, Edit, x342 y29 w180x h30 v6, %6%
  37. Gui, 2:Add, Edit, x342 y109 w180 h30 v7, %7%
  38. Gui, 2:Add, Edit, x342 y189 w180 h30 v8, %8%
  39. Gui, 2:Add, Edit, x342 y69 w180 h30 v9, %9%
  40. Gui, 2:Add, Edit, x342 y149 w180 h30 v0, %0%
  41. Gui, 2:Add, Button, x12 y209 w110 h30 gSave , Speichern
  42. return
  43.  
  44. Info1:
  45. Gui, 3:Show, x127 y87 h111 w401, Info
  46. 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
  47.  
  48. 2GuiClose:
  49. Gui,2:destroy
  50. return
  51.  
  52. GUIclose:
  53. ExitApp
  54.  
  55. Save:
  56. Gui,Submit,Nohide
  57. IniWrite,%Name%,Saves.ini,Settings:,Name
  58. IniWrite,%Rank%,Saves.ini,Settings:,Rank
  59. IniWrite,%6%,Saves.ini,Keybind:,6
  60. IniWrite,%7%,Saves.ini,Keybind:,7
  61. IniWrite,%8%,Saves.ini,Keybind:,8
  62. IniWrite,%9%,Saves.ini,Keybind:,9
  63. IniWrite,%0%,Saves.ini,Keybind:,0
  64. Gui,Show
  65. return
  66.  
  67. #UseHook
  68. #SingleInstance, Force
  69. #IfWinActive, GTA:SA:MP
  70.  
  71. Hotkey, Enter, Off
  72. Hotkey, Escape, Off
  73.  
  74. +T::
  75. ~t::
  76.  
  77. Hotkey, Enter, On
  78. Hotkey, Escape, On
  79. Hotkey, t, Off
  80. return
  81.  
  82. ~NumpadEnter::
  83. ~Enter::
  84. Suspend Permit
  85. Suspend Off
  86. ;SendInput {Enter}
  87. Hotkey, t, On
  88. Hotkey, Enter, Off
  89. Hotkey, Escape, Off
  90. return
  91.  
  92. ~Escape::
  93. Suspend Permit
  94. Suspend Off
  95. Hotkey, t, On
  96. Hotkey, Enter, Off
  97. Hotkey, Escape, Off
  98. return
  99.  
  100. Pause::
  101. Suspend
  102. return
  103.  
  104. F1::
  105. SendInput t/su 1 Missachtung der StVO, Illegaler Besitz, Umweltverschmutzung{home}{right 4}
  106. return
  107.  
  108. F2::
  109. SendInput t/su 2 Behinderung der Justiz, Flucht, Fahren ohne Führerschein, Diebstahl, Befehlsverweigerung, Beihilfe, Drogen/Waffenhandel{home}{right 4}
  110. return
  111.  
  112. F3::
  113. SendInput t/su 3 Zivilistenangriff{home}{right 4}
  114. return
  115.  
  116. F4::
  117. SendInput t/su 4 Zivilistenmord, Staatsfraktionen Angriff{home}{right 4}
  118. return
  119.  
  120. F5::
  121. SendInput t/su 5 Staatsfraktionen Mord ,Enführung, Terrorattentat{home}{right 4}
  122. return
  123.  
  124. F6::
  125. SendInput t/su 6 Massenmord (3 Kills), Flucht bei Stellen{home}{right 4}
  126. return
  127.  
  128. 1::
  129. if (!IsInChat())
  130. return
  131. SendInput t/tazer{enter}
  132. return
  133.  
  134. 2::
  135. if (!IsInChat())
  136. return
  137. SendChat(/wanted)
  138. return
  139.  
  140. 3::
  141. if (!IsInChat())
  142. return
  143. SendInput, t/frisk{space}
  144. return
  145.  
  146. 4::
  147. if (!IsInChat())
  148. return
  149. SendInput, t/friskwaffen{space}
  150. return
  151.  
  152. 5::
  153. if (!IsInChat())
  154. return
  155. SendInput t/cophelp{enter}
  156. return
  157.  
  158. 6::
  159. if (!IsInChat())
  160. SendInput %6%{enter}
  161. return
  162.  
  163. 7::
  164. if (!IsInChat())
  165. SendInput %7%{enter}
  166. return
  167.  
  168. 8::
  169. if (!IsInChat())
  170. SendInput %8%{enter}
  171. return
  172.  
  173. 9::
  174. if (!IsInChat())
  175. SendInput %9%{enter}
  176. return
  177.  
  178. 0::
  179. if (!IsInChat())
  180. SendInput %0%{enter}
  181. return
  182.  
  183. n::
  184. SendInput t/heal{enter}
  185. SendInput t/buygun de 150{enter}
  186. SendInput t/buygun M4 350{enter}
  187. SendInput t/buygun Mp5 150{enter}
  188. SendInput t/buygun Rifle 30{enter}
  189. return
  190.  
  191. NumPad0::
  192. SendInput t/m >>Polizei im Einsatz{!}>>Räumen sie umgehend die Straße{!}<<{enter}
  193. return
  194.  
  195. NumPad1::
  196. SendInput t/m >>SAPD<< >>Verkehrskontrolle, halten Sie bitte rechts{!}{enter}
  197. return
  198.  
  199. NumPad2::
  200. SendInput t/m >>SAPD<< >>Bleiben sie umgehend stehen{!}{enter}
  201. return
  202.  
  203. NumPad3::
  204. SendInput t/l Guten Tag, allgemeine Verkehrskontrolle{!}{enter}
  205. SendInput t/l Ich bin %Rank% %Name% des San Andreas Police Departments.{enter}
  206. return
  207.  
  208. NumPad4::
  209. SendInput t/l Sind sie mit einer Durchsuchung einverstanden{?}{enter}
  210. return
  211.  
  212. NumPad5::
  213. SendInput t/l Zeigen Sie mir bitte ihre Lizenzen{!}{enter}
  214. SendInput t/l Nutzen Sie bitte hierfür /showlicenses %Name%{enter}
  215. return
  216.  
  217.  
  218. NumPad6::
  219. SendInput t/l Danke, Gute Fahrt.{enter}
  220. SendInput t/l Und fahren Sie vorsichtig{!}{enter}
  221. return
  222.  
  223. NumPad7::
  224. SendInput t/l Wohin sind Sie gerade unterwegs{?}{enter}
  225. return
  226.  
  227. NumPad8::
  228. SendInput t/l Öffnen Sie bitte ihren Kofferraum{!}{enter}
  229. SendInput t/l Nützen Sie hierfür /kofferraumauf{!}{enter}
  230. return
  231.  
  232. NumPad9::
  233. SendInput t/l Nehmen Sie bitte Ihre Hände hoch{!}{enter}
  234. SendInput t/l Nützen Sie hierfür /handsup{!}{enter}
  235. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement