Advertisement
Guest User

Untitled

a guest
Dec 27th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. 789#UseHook
  2. #IfWinActive GTA:SA:MP
  3. #SingleInstance, Force
  4. #NoEnv
  5. #Include SAMP.ahk
  6.  
  7. IniRead, name, %A_WorkingDir%\test.ini, Name, name
  8.  
  9. Gui, Add, Picture, x32 y119 w410 h120 , C:\Users\49152\Desktop\Keybinder\Nemesus Roleplay\logo.png
  10. Gui, Add, Text, x2 y329 w130 h20 , Keybinder an/ausschalten
  11. Gui, Add, Text, x2 w130 h30, /Keybinder
  12. Gui, Add, Text, x202 y359 w140 h100 , Made by Luiz
  13. Gui, Add, DateTime, x2 y-1 w100 h30 ,
  14. Gui, Show, x127 y87 h379 w479, Nemesusbinder
  15. Gui, Add, Button, x372 y239 w100 h30 , Nemesus-Server
  16. Gui, Add, Button, x372 y279 w100 h30 , Nemesus-Forum
  17. Gui, Add, Button, x372 y319 w100 h30 , Nemesus-Teamspeak
  18. Gui, Add, Button, x372 y19 w100 h30 , Befehle
  19. Gui, Add, Button, x372 y69 w100 h30 , Nemesus-UCP
  20. Gui, Add, Button, x192 y-1 w100 h30 , Name
  21. Gui, Add, Text, x160 y30, Hier Oben bitte dein RP Namen angeben.
  22. Return
  23.  
  24.  
  25. ButtonBefehle:
  26. ;Gui,test: Add, Picture, x32 y119 w410 h120 , C:\Users\49152\Desktop\Keybinder\Nemesus Roleplay\logo.png
  27. Gui,test: Add, Text, x2 y29 w100 h30 , Locksystem
  28. Gui,test: Add, Text, x2 y59 w100 h30 , L
  29. Gui,test: Add, Text, x2 y99 w100 h30 , Kooparation
  30. Gui,test: Add, Text, x2 y129 w100 h30 , /koop
  31. Gui,test: Add, Text, x2 y169 w100 h30 , Befehle
  32. Gui,test: Add, Text, x2 y199 w100 h30 , /befehle
  33. Gui,test: Add, Text, x2 y239 w100 h30 , Polizei rufen
  34. Gui,test: Add, Text, x2 y269 w100 h30 , P
  35. Gui,test: Add, Text, x2 y309 w100 h30 , Taxi rufen
  36. Gui,test: Add, Text, x112 y29 w100 h30 , Anrufbeantworter
  37. Gui,test: Add, Text, x112 y59 w100 h30 , /ab
  38. Gui,test: Add, Text, x112 y99 w100 h30 , Bedanken
  39. Gui,test: Add, Text, x112 y129 w100 h30 , /danke
  40. Gui,test: Add, Text, x112 y169 w100 h30 , Im TT Dienst
  41. Gui,test: Add, Text, x112 y199 w100 h30 , /tton /ttof
  42. Gui,test: Add, Text, x112 y239 w100 h30 , /Me Fahrzeug einsteigen
  43. Gui,test: Add, Text, x112 y269 w100 h30 , F
  44. Gui,test: Add, Text, x2 y339 w100 h30 , O
  45. Gui,test: Add, Text, x112 y309 w100 h30 , Anruf auflegen
  46. Gui,test: Add, Text, x112 y339 w100 h30 , /h
  47. Gui,test: Add, Text, x332 y29 w100 h30 , Ja Madam??
  48. Gui,test: Add, Text, x222 y59 w100 h30 , /p
  49. Gui,test: Add, Text, x332 y59 w100 h30 , /jam
  50. Gui,test: Add, Text, x222 y99 w100 h30 , Sei Leise
  51. Gui,test: Add, Text, x332 y99 w100 h30 , Angeln ((Ab Max Skill))
  52. Gui,test: Add, Text, x222 y129 w100 h30 , /hdf
  53. Gui,test: Add, Text, x332 y129 w100 h30 , /angeln
  54. Gui,test: Add, Text, x222 y169 w100 h30 , Ja Sir??
  55. Gui,test: Add, Text, x332 y169 w100 h30 , Strasse Reumen
  56. Gui,test: Add, Text, x222 y199 w100 h30 , /jas
  57. Gui,test: Add, Text, x332 y199 w100 h30 , Numpad 1
  58. Gui,test: Add, Text, x222 y239 w100 h30 , Rechte vorlesen
  59. Gui,test: Add, Text, x222 y269 w100 h30 , /rechte
  60. Gui,test: Add, Text, x332 y239 w100 h30 , Hin Knien
  61. Gui,test: Add, Text, x332 y269 w100 h30 , /knien
  62. Gui,test: Add, Text, x222 y309 w100 h30 , Hilfe rufen
  63. Gui,test: Add, Text, x332 y309 w100 h30 , Numpad 0
  64. Gui,test: Add, Text, x222 y339 w100 h30 , Auftrag annehmen
  65. Gui,test: Add, Text, x332 y339 w100 h30 , Zehnertaste 1
  66. Gui,test: Add, Text, x222 y29 w100 h30 , Anruf annehmmen
  67. Gui,test: Show, x113 y87 h379 w479, Alle Befehle
  68. Return
  69.  
  70.  
  71. ButtonNemesus-UCP:
  72. run, https://ucp.nemesus-roleplay.net/login
  73. return
  74.  
  75. ButtonNemesus-Server:
  76. TrayTip, Keybinder, Verbinde zu Nemesus-Roleplay.net(SA:MP), 1, 1
  77. sleep 600
  78. RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\SAMP, gta_sa_exe
  79. SplitPath, GTA_SA_EXE,, PFAD
  80. run, %PFAD%\samp.exe server.nemesus-roleplay.de:7777, %PFAD%
  81. return
  82.  
  83.  
  84. ButtonNemesus-Teamspeak:
  85. run, ts3server://ts3.nemesus-roleplay.de
  86. return
  87.  
  88. ButtonNemesus-Forum:
  89. run, https://nemesus-roleplay.net/index.php/BoardList/
  90. return
  91.  
  92. Gui, Add, Text, x22 y19 w100 h30 , Testscript
  93. Gui, Add, Button, x152 y59 w100 h30 , Ergebniss
  94. Gui, Show, w282 h100, Untitled GUI
  95. return
  96.  
  97. ButtonName:
  98. Gui,test1: Add, Text, x2 y-1 w170 h70 , Bitte Namen eingeben
  99. Gui,test1: Add, Edit, x12 y19 w100 h30 vname, %name%
  100. Gui,test1: Add, Button, x12 y59 w100 h30 gsave, Speichern %Speichern%
  101. Gui,test1: Show, w282 h100, Dein RP Name eingeben
  102. return
  103.  
  104.  
  105. ButtonErgebniss:
  106. MsgBox, 64, , Dein Name lautet %name%
  107. return
  108.  
  109. save:
  110. Gui, Submit, Nohide
  111. IniWrite, %name%, %A_WorkingDir%\test.ini, Name, name
  112. reload
  113. return
  114.  
  115. GuiClose:
  116. ExitApp
  117.  
  118. ;-------------------------------------Key´s----------------------------------------;
  119.  
  120. :?:t/koop::
  121. suspend, off
  122. SendChat("Vielen dank fuer, Ihre Kooparation.")
  123. return
  124.  
  125. :?:t/p::
  126. suspend, off
  127. SendChat("/annehmen")
  128. SendChat("Guten Tag, Sie sprechen mit %name%.")
  129. SendChat("Was kann ich fuer sie tun?")
  130. return
  131.  
  132. :?:t/ab::
  133. suspend, off
  134. SendChat("/annehmen")
  135. SendChat("Guten Tag, ich bin zurzeit leider nicht erreichbar.")
  136. SendChat("Sie koennen nach dem Signalton eine Nachricht hinterlassen.")
  137. SendChat("(( PN im Forum oder PM InGame ))")
  138. SendChat("** Es ertoent ein elektronisches angenehmes Piepen**")
  139. SendChat("/auflegen")
  140. return
  141.  
  142. :?:t/danke::
  143. suspend, off
  144. SendChat("Ich bedanke mich fuer Ihre Hilfe.")
  145. return
  146.  
  147. :?:/tton::
  148. suspend off
  149. SendChat("/fchat %name% Meldet sich zum TowTruck Dienst.")
  150. return
  151.  
  152. :?::t/ttof::
  153. Suspend, off
  154. SendChat("/fchat %name% Meldet sich als TowTruck Dienst ab.")
  155. return
  156.  
  157. :?:t/h::
  158. suspend, off
  159. SendChat("Vielen dank feur ihren Anruf.")
  160. SendChat("Wenn was sein sollte kannst mich wieder anrufen!")
  161. SendChat("/auflegen")
  162. return
  163.  
  164. :?:t/jam::
  165. suspend, off
  166. SendChat("Ja Madam, Wie kann ich ihnen Helfen?")
  167. return
  168.  
  169. :?:t/hdf::
  170. suspend, off
  171. SendChat("Seien sie bitte still. **Boese**")
  172. return
  173.  
  174. :?:t/angeln::
  175. suspend, off
  176. SendChat("/angeln")
  177. sleep time 25000
  178. SendChat("/angeln")
  179. sleep time 25000
  180. SendChat("/angeln")
  181. sleep time 25000
  182. SendChat("/angeln")
  183. sleep time 25000
  184. SendChat("/angeln")
  185. sleep time 25000
  186. SendChat("/angeln")
  187. sleep time 25000
  188. SendChat("/angeln")
  189. sleep time 25000
  190. SendChat("/angeln")
  191. sleep time 25000
  192. SendChat("/angeln")
  193. sleep time 25000
  194. SendChat("/angeln")
  195. sleep time 25000
  196. SendChat("/angeln")
  197. sleep time 25000
  198. SendChat("/angeln")
  199. sleep time 25000
  200. SendChat("/angeln")
  201. sleep time 25000
  202. SendChat("/angeln")
  203. sleep time 25000
  204. SendChat("/angeln")
  205. sleep time 25000
  206. SendChat("/angeln")
  207. sleep time 25000
  208. SendChat("/angeln")
  209. sleep time 25000
  210. SendChat("/angeln")
  211. sleep time 25000
  212. SendChat("/angeln")
  213. sleep time 25000
  214. SendChat("/angeln")
  215. sleep time 25000
  216. SendChat("/angeln")
  217. sleep time 25000
  218. SendChat("/angeln")
  219. sleep time 25000
  220. SendChat("/angeln")
  221. sleep time 25000
  222. SendChat("/angeln")
  223. sleep time 25000
  224. SendChat("/angeln")
  225. return
  226.  
  227. :?:t/jas::
  228. suspend, off
  229. SendChat("Ja Sir, Wie kann ich dir behilflich sein?")
  230. return
  231.  
  232. :?:t/rechte::
  233. suspend, off
  234. SendChat("Sie haben das Recht zu schweigen.")
  235. SendChat("Alles was Sie jetzt sagen kann vor Gericht")
  236. SendChat("gegen Sie verwendet werden.")
  237. return
  238.  
  239. :?:t/knien::
  240. suspend, off
  241. SendChat("/cam1")
  242. SendChat("/me Kniet sich hin.")
  243. return
  244.  
  245. :?:t/keybinder::
  246. Suspend
  247. if(A_IsSuspended) {
  248. addChatMessage("{FF0000}Keybinder{FFFFFF}: Keybinder {FF0000}ausgeschaltet{FFFFFF}!")
  249. return
  250. } else {
  251. addChatMessage("{FF0000}Keybinder{FFFFFF}: Keybinder {00FF00}angeschaltet{FFFFFF}!")
  252. }
  253. return
  254.  
  255. ; ######################
  256. ; ####### TASTEN #######
  257.  
  258. #If WinActive("GTA:SA:MP") && !isInChat()
  259.  
  260. ~L::
  261. SendChat("/lock")
  262. return
  263.  
  264. ~P::
  265. SendChat("/s Polizei bitte kommen sie!")
  266. return
  267.  
  268. ~O::
  269. SendChat("/s Taxi! bitte stehen bleiben!")
  270. return
  271.  
  272. ~Numpad0::
  273. SendChat("/s Bitte Helfen sie mir, ich bin in gefahr, bitte helfen sie mir!")
  274. return
  275.  
  276. ~1::
  277. SendInput t/acceptmecha {space}
  278. SendInput t/fchat Auftrag angenommen ID: {space}
  279. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement