SAMP

[RGR] Oamt Keybinder SOURCE

Jul 30th, 2012
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 40.04 KB | None | 0 0
  1. ; <COMPILER: v1.0.48.5>
  2. ;© 2012 NILS_WEDINGER. Wo der Download angeboten wird, muss der Urheber (Nils_Wedinger) angegeben sein.
  3. RunAs Administrator
  4. Duty := 0
  5. version := 2.1
  6. Filedelete,update.bat
  7.  
  8. UrlDownloadToFile,http://oamtkey.t.gp/versionsupdate.txt, versionsupdate.txt
  9. FileRead, newver, versionsupdate.txt
  10. FileDelete, versionsupdate.txt
  11. if (version < newver)
  12.   {
  13.     newververfügbar := 1
  14.  
  15.  
  16.         MsgBox, 64, Update Download, Das Update wird nun heruntergeladen ,dies kann bis zu 20 Sekunden dauern..., 3
  17.         Urldownloadtofile,http://oamtkey.t.gp/Oamt_Keybinder.exe, %A_ScriptName%.new
  18.         BatchFile=
  19.         (
  20.         Ping 127.0.0.1
  21.         Del "%A_ScriptName%"
  22.         Rename "%A_ScriptName%.new" "%A_ScriptName%"
  23.         cd "%A_ScriptFullPath%"
  24.         "%A_ScriptName%"
  25.         Del update.bat
  26.         )
  27.  
  28.         FileDelete,update.bat
  29.         FileAppend,%BatchFile%,update.bat
  30.         MsgBox, 64, Update ausführen, Das Update wird nun ausgeführt...bitte warten..., 3
  31.         RunAs update.bat
  32.         Exitapp
  33.         }
  34.  
  35. else
  36.   {
  37.     newververfügbar := 0
  38. }
  39. #IfWinActive GTA:SA:MP
  40.  
  41. #SingleInstance force
  42. #NoEnv
  43.  
  44.  
  45. PLAYER_STATE_LEAVING_VEHICLE := 0
  46. PLAYER_STATE_NORMAL := 1
  47. PLAYER_STATE_DRIVING := 50
  48. PLAYER_STATE_DYING := 54
  49. PLAYER_STATE_DEAD := 55
  50.  
  51.  
  52.  
  53. hModule := DllCall("LoadLibrary", Str, "API.dll")
  54.  
  55.  
  56. AddChatMessage_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
  57. AddChatMessage(Color, Text)
  58. {
  59.     global AddChatMessage_func
  60.     Result := DllCall(AddChatMessage_func, Int, Color, Str, Text)
  61.     return Result
  62. }
  63.  
  64. BoxCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxCreate")
  65. BoxCreate()
  66. {
  67.     global BoxCreate_func
  68.     Result := DllCall(BoxCreate_func)
  69.     return Result
  70. }
  71.  
  72. BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxDestroy")
  73. BoxDestroy(BoxIndex)
  74. {
  75.     global BoxDestroy_func
  76.     Result := DllCall(BoxDestroy_func, Int, BoxIndex)
  77.     return Result
  78. }
  79. BoxHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxHide")
  80. BoxHide(BoxIndex)
  81. {
  82.     global BoxHide_func
  83.     Result := DllCall(BoxHide_func, Int, BoxIndex)
  84.     return Result
  85. }
  86.  
  87. BoxShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxShow")
  88. BoxShow(BoxIndex)
  89. {
  90.     global BoxShow_func
  91.     Result := DllCall(BoxShow_func, Int, BoxIndex)
  92.     return Result
  93. }
  94.  
  95. BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetBorder")
  96. BoxSetBorder(BoxIndex, Width)
  97. {
  98.     global BoxSetBorder_func
  99.     Result := DllCall(BoxSetBorder_func, Int, BoxIndex, Int, Width)
  100.     return Result
  101. }
  102.  
  103. BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetBorderColor")
  104. BoxSetBorderColor(BoxIndex, Color)
  105. {
  106.     global BoxSetBorderColor_func
  107.     Result := DllCall(BoxSetBorderColor_func, Int, BoxIndex, Int64, Color)
  108.     return Result
  109. }
  110.  
  111. BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetColor")
  112. BoxSetColor(BoxIndex, Color)
  113. {
  114.     global BoxSetColor_func
  115.     Result := DllCall(BoxSetColor_func, Int, BoxIndex, Int64, Color)
  116.     return Result
  117. }
  118.  
  119. BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetHeight")
  120. BoxSetHeight(BoxIndex, Height)
  121. {
  122.     global BoxSetHeight_func
  123.     Result := DllCall(BoxSetHeight_func, Int, BoxIndex, Int, Height)
  124.     return Result
  125. }
  126.  
  127. BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetPos")
  128. BoxSetPos(BoxIndex, PosX, PosY)
  129. {
  130.     global BoxSetPos_func
  131.     Result := DllCall(BoxSetPos_func, Int, BoxIndex, Int, PosX, Int, PosY)
  132.     return Result
  133. }
  134.  
  135. BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetWidth")
  136. BoxSetWidth(BoxIndex, Width)
  137. {
  138.     global BoxSetWidth_func
  139.     Result := DllCall(BoxSetWidth_func, Int, BoxIndex, Int, Width)
  140.     return Result
  141. }
  142.  
  143. DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_DestroyAllVisual")
  144. DestroyAllVisual()
  145. {
  146.     global DestroyAllVisual_func
  147.     Result := DllCall(DestroyAllVisual_func)
  148.     return Result
  149. }
  150.  
  151. GetAmmoForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetAmmoForCurrentWeapon")
  152. GetAmmoForCurrentWeapon()
  153. {
  154.     global GetAmmoForCurrentWeapon_func
  155.     Result := DllCall(GetAmmoForCurrentWeapon_func)
  156.     return Result
  157. }
  158.  
  159. GetChatText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatText")
  160. GetChatText(Line)
  161. {
  162.     global GetChatText_func
  163.     VarSetCapacity(Text, 256, 0)
  164.     Result := DllCall(GetChatText_func, Int, Line, Str, Text)
  165.     if(Result == 1)
  166.         return Text
  167.     return Result
  168. }
  169.  
  170. GetClipForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetClipForCurrentWeapon")
  171. GetClipForCurrentWeapon()
  172. {
  173.     global GetClipForCurrentWeapon_func
  174.     Result := DllCall(GetClipForCurrentWeapon_func)
  175.     return Result
  176. }
  177.  
  178. GetCurrentFps_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentFps")
  179. GetCurrentFps()
  180. {
  181.     global GetCurrentFps_func
  182.     Result := DllCall(GetCurrentFps_func)
  183.     return Result
  184. }
  185.  
  186. GetCurrentWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeaponId")
  187. GetCurrentWeaponId()
  188. {
  189.     global GetCurrentWeaponId_func
  190.     Result := DllCall(GetCurrentWeaponId_func)
  191.     return Result
  192. }
  193.  
  194. GetCurrenWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrenWeatherId")
  195. GetCurrenWeatherId()
  196. {
  197.     global GetCurrenWeatherId_func
  198.     Result := DllCall(GetCurrenWeatherId_func)
  199.     return Result
  200. }
  201.  
  202. GetOnlinePlayers_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetOnlinePlayers")
  203. GetOnlinePlayers()
  204. {
  205.     global GetOnlinePlayers_func
  206.     Result := DllCall(GetOnlinePlayers_func)
  207.     return Result
  208. }
  209.  
  210. GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
  211. GetPlayerArmor()
  212. {
  213.     global GetPlayerArmor_func
  214.     Result := DllCall(GetPlayerArmor_func)
  215.     return Result
  216. }
  217.  
  218. GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
  219. GetPlayerHealth()
  220. {
  221.     global GetPlayerHealth_func
  222.     Result := DllCall(GetPlayerHealth_func)
  223.     return Result
  224. }
  225.  
  226. GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
  227. GetPlayerId()
  228. {
  229.     global GetPlayerId_func
  230.     Result := DllCall(GetPlayerId_func)
  231.     return Result
  232. }
  233.  
  234. GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
  235. GetPlayerMoney()
  236. {
  237.     global GetPlayerMoney_func
  238.     Result := DllCall(GetPlayerMoney_func)
  239.     return Result
  240. }
  241.  
  242. GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
  243. GetPlayerName()
  244. {
  245.     global GetPlayerName_func
  246.     VarSetCapacity(Name, 24, 0)
  247.     Result := DllCall(GetPlayerName_func, Str, Name)
  248.     if(Result == -1)
  249.         return -1
  250.     return Name
  251. }
  252.  
  253. GetPlayerPing_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPing")
  254. GetPlayerPing()
  255. {
  256.     global GetPlayerPing_func
  257.     Result := DllCall(GetPlayerPing_func)
  258.     return Result
  259. }
  260.  
  261. GetPlayerScore_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScore")
  262. GetPlayerScore()
  263. {
  264.     global GetPlayerScore_func
  265.     Result := DllCall(GetPlayerScore_func)
  266.     return Result
  267. }
  268.  
  269. GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
  270. GetPlayerState()
  271. {
  272.     global GetPlayerState_func
  273.     Result := DllCall(GetPlayerState_func)
  274.     return Result
  275. }
  276.  
  277. GetPlayerSkin_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerSkin")
  278. GetPlayerSkin()
  279. {
  280.     global GetPlayerSkin_func
  281.     Result := DllCall(GetPlayerSkin_func)
  282.     return Result
  283. }
  284.  
  285. GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
  286. GetPlayerWanteds()
  287. {
  288.     global GetPlayerWanteds_func
  289.     Result := DllCall(GetPlayerWanteds_func)
  290.     return Result
  291. }
  292.  
  293. GetPosR_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPosR")
  294. GetPosR()
  295. {
  296.     global GetPosR_func
  297.     VarSetCapacity(fPtrR, 32, 0)
  298.     Result := DllCall(GetPosR_func, Str, fPtrR)
  299.     if(Result == 1)
  300.         return fPtrR
  301.     return Result
  302. }
  303.  
  304. GetPosX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPosX")
  305. GetPosX()
  306. {
  307.     global GetPosX_func
  308.     VarSetCapacity(fPtrX, 32, 0)
  309.     Result := DllCall(GetPosX_func, Str, fPtrX)
  310.     if(Result == 1)
  311.         return fPtrX
  312.     return Result
  313. }
  314.  
  315. GetPosY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPosY")
  316. GetPosY()
  317. {
  318.     global GetPosY_func
  319.     VarSetCapacity(fPtrY, 32, 0)
  320.     Result := DllCall(GetPosY_func, Str, fPtrY)
  321.     if(Result == 1)
  322.         return fPtrY
  323.     return Result
  324. }
  325.  
  326. GetPosZ_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPosZ")
  327. GetPosZ()
  328. {
  329.     global GetPosZ_func
  330.     VarSetCapacity(fPtrZ, 32, 0)
  331.     Result := DllCall(GetPosZ_func, Str, fPtrZ)
  332.     if(Result == 1)
  333.         return fPtrZ
  334.     return Result
  335. }
  336.  
  337. GetRadioSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetRadioSlot")
  338. GetRadioSlot()
  339. {
  340.     global GetRadioSlot_func
  341.     Result := DllCall(GetRadioSlot_func)
  342.     return Result
  343. }
  344.  
  345. GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
  346. GetScreenSizeX()
  347. {
  348.     global GetScreenSizeX_func
  349.     Result := DllCall(GetScreenSizeX_func)
  350.     return Result
  351. }
  352.  
  353. GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
  354. GetScreenSizeY()
  355. {
  356.     global GetScreenSizeY_func
  357.     Result := DllCall(GetScreenSizeY_func)
  358.     return Result
  359. }
  360.  
  361. GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
  362. GetServerIp()
  363. {
  364.     global GetServerIp_func
  365.     VarSetCapacity(Ip, 21, 0)
  366.     Result := DllCall(GetServerIp_func, Str, Ip)
  367.     if(Result == 1)
  368.         return Ip
  369.     return Result
  370. }
  371.  
  372. GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
  373. GetCityName()
  374. {
  375.     global GetCityName_func
  376.     VarSetCapacity(Town, 32, 0)
  377.     Result := DllCall(GetCityName_func, Str, Town)
  378.     if(Result == 1)
  379.         return Town
  380.     return Result
  381. }
  382.  
  383. GetVehicleEngineState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleEngineState")
  384. GetVehicleEngineState()
  385. {
  386.     global GetVehicleEngineState_func
  387.     Result := DllCall(GetVehicleEngineState_func)
  388.     return Result
  389. }
  390.  
  391. GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
  392. GetVehicleFirstColor()
  393. {
  394.     global GetVehicleFirstColor_func
  395.     Result := DllCall(GetVehicleFirstColor_func)
  396.     return Result
  397. }
  398.  
  399. GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
  400. GetVehicleHealth()
  401. {
  402.     global GetVehicleHealth_func
  403.     Result := DllCall(GetVehicleHealth_func)
  404.     return Result
  405. }
  406.  
  407. GetVehicleHornState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHornState")
  408. GetVehicleHornState()
  409. {
  410.     global GetVehicleHornState_func
  411.     Result := DllCall(GetVehicleHornState_func)
  412.     return Result
  413. }
  414.  
  415. GetVehicleId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleId")
  416. GetVehicleId()
  417. {
  418.     global GetVehicleId_func
  419.     Result := DllCall(GetVehicleId_func)
  420.     return Result
  421. }
  422.  
  423. GetVehicleLightState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLightState")
  424. GetVehicleLightState()
  425. {
  426.     global GetVehicleLightState_func
  427.     Result := DllCall(GetVehicleLightState_func)
  428.     return Result
  429. }
  430.  
  431. GetVehicleLockState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLockState")
  432. GetVehicleLockState()
  433. {
  434.     global GetVehicleLockState_func
  435.     Result := DllCall(GetVehicleLockState_func)
  436.     return Result
  437. }
  438.  
  439. GetVehicleModelId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelId")
  440. GetVehicleModelId()
  441. {
  442.     global GetVehicleModelId_func
  443.     Result := DllCall(GetVehicleModelId_func)
  444.     return Result
  445. }
  446.  
  447. GetVehicleName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleName")
  448. GetVehicleName()
  449. {
  450.     global GetVehicleName_func
  451.     VarSetCapacity(VehName, 24, 0)
  452.     Result := DllCall(GetVehicleName_func, Str, VehName)
  453.     if(Result == 1)
  454.         return VehName
  455.     return Result
  456. }
  457.  
  458. GetVehicleSeatState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSeatState")
  459. GetVehicleSeatState(Seat)
  460. {
  461.     global GetVehicleSeatState_func
  462.     Result := DllCall(GetVehicleSeatState_func, Int, Seat)
  463.     return Result
  464. }
  465.  
  466. GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
  467. GetVehicleSecondColor()
  468. {
  469.     global GetVehicleSecondColor_func
  470.     Result := DllCall(GetVehicleSecondColor_func)
  471.     return Result
  472. }
  473.  
  474. GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
  475. GetVehicleSpeed()
  476. {
  477.     global GetVehicleSpeed_func
  478.     fMult := 1.42
  479.     Result := DllCall(GetVehicleSpeed_func, Float, fMult)
  480.     return Result
  481. }
  482.  
  483. GetVehicleSirenState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSirenState")
  484. GetVehicleSirenState()
  485. {
  486.     global GetVehicleSirenState_func
  487.     Result := DllCall(GetVehicleSirenState_func)
  488.     return Result
  489. }
  490.  
  491. GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
  492. GetZoneName()
  493. {
  494.     global GetZoneName_func
  495.     VarSetCapacity(Zone, 32, 0)
  496.     Result := DllCall(GetZoneName_func, Str, Zone)
  497.     if(Result == 1)
  498.         return Zone
  499.     return Result
  500. }
  501.  
  502. ImageCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageCreate")
  503. ImageCreate(ImagePath)
  504. {
  505.     path = %A_ScriptDir%
  506.     global ImageCreate_func
  507.     Result := DllCall(ImageCreate_func, Str, path . ImagePath)
  508.     return Result
  509. }
  510.  
  511. ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageDestroy")
  512. ImageDestroy(ImageIndex)
  513. {
  514.     global ImageDestroy_func
  515.     Result := DllCall(ImageDestroy_func, Int, ImageIndex)
  516.     return Result
  517. }
  518.  
  519. ImageHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageHide")
  520. ImageHide(ImageIndex)
  521. {
  522.     global ImageHide_func
  523.     Result := DllCall(ImageHide_func, Int, ImageIndex)
  524.     return Result
  525. }
  526.  
  527. ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageSetPos")
  528. ImageSetPos(ImageIndex, PosX, PosY)
  529. {
  530.     global ImageSetPos_func
  531.     Result := DllCall(ImageSetPos_func, Int, ImageIndex, Int, PosX, Int, PosY)
  532.     return Result
  533. }
  534.  
  535. ImageShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageShow")
  536. ImageShow(ImageIndex)
  537. {
  538.     global ImageShow_func
  539.     Result := DllCall(ImageShow_func, Int, ImageIndex)
  540.     return Result
  541. }
  542.  
  543. IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
  544. IsChatOpen()
  545. {
  546.     global IsChatOpen_func
  547.     Result := DllCall(IsChatOpen_func)
  548.     return Result
  549. }
  550.  
  551. IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
  552. IsDialogOpen()
  553. {
  554.     global IsDialogOpen_func
  555.     Result := DllCall(IsDialogOpen_func)
  556.     return Result
  557. }
  558.  
  559. IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
  560. IsPlayerFrozen()
  561. {
  562.     global IsPlayerFrozen_func
  563.     Result := DllCall(IsPlayerFrozen_func)
  564.     return Result
  565. }
  566.  
  567. IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
  568. IsPlayerDriver()
  569. {
  570.     global IsPlayerDriver_func
  571.     Result := DllCall(IsPlayerDriver_func)
  572.     return Result
  573. }
  574.  
  575. IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
  576. IsPlayerInAnyInterior()
  577. {
  578.     global IsPlayerInAnyInterior_func
  579.     Result := DllCall(IsPlayerInAnyInterior_func)
  580.     return Result
  581. }
  582.  
  583. IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
  584. IsPlayerInAnyVehicle()
  585. {
  586.     global IsPlayerInAnyVehicle_func
  587.     Result := DllCall(IsPlayerInAnyVehicle_func)
  588.     return Result
  589. }
  590.  
  591. IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
  592. IsPlayerInRangeOfPoint(X, Y, Z, Radius)
  593. {
  594.     global IsPlayerInRangeOfPoint_func
  595.     Result := DllCall(IsPlayerInRangeOfPoint_func, Float, X, Float, Y, Float, Z, Float, Radius)
  596.     return Result
  597. }
  598.  
  599. IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
  600. IsPlayerInRangeOfPoint2D(X, Y, Radius)
  601. {
  602.     global IsPlayerInRangeOfPoint2D_func
  603.     Result := DllCall(IsPlayerInRangeOfPoint2D_func, Float, X, Float, Y, Float, Radius)
  604.     return Result
  605. }
  606.  
  607. IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
  608. IsMenuOpen()
  609. {
  610.     global IsMenuOpen_func
  611.     Result := DllCall(IsMenuOpen_func)
  612.     return Result
  613. }
  614.  
  615. IsUpdateAvailable_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsUpdateAvailable")
  616. IsUpdateAvailable()
  617. {
  618.     global IsUpdateAvailable_func
  619.     Result := DllCall(IsUpdateAvailable_func)
  620.     return Result
  621. }
  622.  
  623. LineCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineCreate")
  624. LineCreate()
  625. {
  626.     global LineCreate_func
  627.     Result := DllCall(LineCreate_func)
  628.     return Result
  629. }
  630.  
  631. LineDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineDestroy")
  632. LineDestroy(LineIndex)
  633. {
  634.     global LineDestroy_func
  635.     Result := DllCall(LineDestroy_func, Int, LineIndex)
  636.     return Result
  637. }
  638.  
  639. LineHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineHide")
  640. LineHide(LineIndex)
  641. {
  642.     global LineHide_func
  643.     Result := DllCall(LineHide_func, Int, LineIndex)
  644.     return Result
  645. }
  646.  
  647. LineSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetColor")
  648. LineSetColor(LineIndex, Color)
  649. {
  650.     global LineSetColor_func
  651.     Result := DllCall(LineSetColor_func, Int, LineIndex, Int64, Color)
  652.     return Result
  653. }
  654.  
  655. LineSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetPos")
  656. LineSetPos(LineIndex, X, Y)
  657. {
  658.     global LineSetPos_func
  659.     Result := DllCall(LineSetPos_func, Int, LineIndex, Int, X, Int, Y)
  660.     return Result
  661. }
  662.  
  663. LineSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetHeight")
  664. LineSetHeight(LineIndex, Height)
  665. {
  666.     global LineSetHeight_func
  667.     Result := DllCall(LineSetHeight_func, Int, LineIndex, Int, Height)
  668.     return Result
  669. }
  670.  
  671. LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetWidth")
  672. LineSetWidth(LineIndex, Width)
  673. {
  674.     global LineSetWidth_func
  675.     Result := DllCall(LineSetWidth_func, Int, LineIndex, Int, Width)
  676.     return Result
  677. }
  678.  
  679. LineShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineShow")
  680. LineShow(LineIndex)
  681. {
  682.     global LineShow_func
  683.     Result := DllCall(LineShow_func, Int, LineIndex)
  684.     return Result
  685. }
  686.  
  687. ReloadCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ReloadCurrentWeapon")
  688. ReloadCurrentWeapon()
  689. {
  690.     global ReloadCurrentWeapon_func
  691.     Result := DllCall(ReloadCurrentWeapon_func)
  692.     return Result
  693. }
  694.  
  695. SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
  696. SendChat(Text)
  697. {
  698.     global SendChat_func
  699.     Result := DllCall(SendChat_func, Str, Text)
  700.     return Result
  701. }
  702.  
  703. ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
  704. ShowGameText(Text, Time, Style)
  705. {
  706.     global ShowGameText_func
  707.     Result := DllCall(ShowGameText_func, Str, Text, Int, Time, Int, Style)
  708.     return Result
  709. }
  710.  
  711. TextCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextCreate")
  712. TextCreate(Font, FontSize, Bold, Italic)
  713. {
  714.     global TextCreate_func
  715.     Result := DllCall(TextCreate_func, Str, Font, Int, FontSize, Int, Bold, Int, Italic)
  716.     return Result
  717. }
  718.  
  719. TextDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextDestroy")
  720. TextDestroy(TextIndex)
  721. {
  722.     global TextDestroy_func
  723.     Result := DllCall(TextDestroy_func, Int, TextIndex)
  724.     return Result
  725. }
  726.  
  727. TextHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextHide")
  728. TextHide(TextIndex)
  729. {
  730.     global TextHide_func
  731.     Result := DllCall(TextHide_func, Int, TextIndex)
  732.     return Result
  733. }
  734.  
  735. TextSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetColor")
  736. TextSetColor(TextIndex, Color)
  737. {
  738.     global TextSetColor_func
  739.     Result := DllCall(TextSetColor_func, Int, TextIndex, Int64, Color)
  740.     return Result
  741. }
  742.  
  743. TextSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetPos")
  744. TextSetPos(TextIndex, PosX, PosY)
  745. {
  746.     global TextSetPos_func
  747.     Result := DllCall(TextSetPos_func, Int, TextIndex, Int, PosX, Int, PosY)
  748.     return Result
  749. }
  750.  
  751. TextSetString_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetString")
  752. TextSetString(TextIndex, Text)
  753. {
  754.     global TextSetString_func
  755.     Result := DllCall(TextSetString_func, Int, TextIndex, Str, Text)
  756.     return Result
  757. }
  758.  
  759. TextShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextShow")
  760. TextShow(TextIndex)
  761. {
  762.     global TextShow_func
  763.     Result := DllCall(TextShow_func, Int, TextIndex)
  764.     return Result
  765. }
  766.  
  767.  
  768.  
  769.         Urldownloadtofile,http://nk-soft.de.cg/oamtkey/bg.jpg,bg.jpg
  770.  
  771.  
  772. IfNotExist, API.dll
  773. {
  774.         Urldownloadtofile,http://nk-soft.de.cg/oamtkey/API.dll,API.dll
  775. }
  776.  
  777. Iniread Name ,Settings.ini,Optionen, Name
  778. IniRead, Passwort ,Passwörter.ini,Optionen, Passwort
  779.  
  780. IniRead, Eintrag1 ,Telefonbuch.ini,Telefonbuch, Eintrag1
  781. IniRead, Eintrag2 ,Telefonbuch.ini,Telefonbuch, Eintrag2
  782. IniRead, Eintrag3 ,Telefonbuch.ini,Telefonbuch, Eintrag3
  783. IniRead, Eintrag4 ,Telefonbuch.ini,Telefonbuch, Eintrag4
  784. IniRead, Eintrag5 ,Telefonbuch.ini,Telefonbuch, Eintrag5
  785. IniRead, Eintrag6 ,Telefonbuch.ini,Telefonbuch, Eintrag6
  786. IniRead, Eintrag7 ,Telefonbuch.ini,Telefonbuch, Eintrag7
  787. IniRead, Eintrag8 ,Telefonbuch.ini,Telefonbuch, Eintrag8
  788.  
  789.  
  790.  
  791. Gui,Add,Picture,x10 y5 w950 h550,bg.jpg
  792.  
  793.  
  794. FormatTime,Jahr,,yyyy
  795. Gui,Add,text,cred x30 y7  +backgroundtrans, (C) 2012-%Jahr% Blood_Rain, AcidRain, Nils_Wedinger
  796. Gui,Add,text,cblack x825 y7  +backgroundtrans, Version %Version%
  797.  
  798. Gui,Add,text,cblack x40 y40  +backgroundtrans, Tastenbelegungen:
  799. Gui,Add,text,cblack x40 y65  +backgroundtrans, X = Motor an/aus
  800. Gui,Add,text,cblack x40 y80  +backgroundtrans, Y = Motor an/aus + Lock + Licht
  801. Gui,Add,text,cblack x40 y95  +backgroundtrans, O = On/OffDuty
  802. Gui,Add,text,cblack x40 y110  +backgroundtrans, N = News aus/einblenden
  803. Gui,Add,text,cblack x40 y125  +backgroundtrans, . (Punkt) = Zoll öffnen
  804. Gui,Add,text,cblack x40 y140  +backgroundtrans, J = Auto anhängen
  805. Gui,Add,text,cblack x40 y155  +backgroundtrans, L = Auto in Verwahrung geben
  806. Gui,Add,text,cblack x40 y170  +backgroundtrans, R = Radiosender wählen
  807. Gui,Add,text,cblack x40 y185  +backgroundtrans, B = Bike abgeben
  808. Gui,Add,text,cblack x40 y220  +backgroundtrans, /P = Anruf annehmen
  809. Gui,Add,text,cblack x40 y235  +backgroundtrans, /U = Anrufbeantworter
  810. Gui,Add,text,cblack x40 y250  +backgroundtrans, F12 = Passworteingabe beim Login
  811.  
  812. Gui,Add,text,cred x40 y265  +backgroundtrans, Pause = Keybinder pauSieren
  813.  
  814. Gui,Add,text,cblack x40 y285  +backgroundtrans, /gprotb = (Bike) Rote Ampel [4 Punkte]
  815. Gui,Add,text,cblack x40 y300  +backgroundtrans, /gprotc = (Car) Rote Ampel [4 Punkte]
  816. Gui,Add,text,cblack x40 y315  +backgroundtrans, /gpseiteb = (Bike) Falsche Straßenseite [7 Punkte]
  817. Gui,Add,text,cblack x40 y330  +backgroundtrans, /gpseitec = (Car) Falsche Straßenseite [7 Punkte]
  818. Gui,Add,text,cblack x40 y345  +backgroundtrans, /gpunfallc = (Car) Verursachen eines Unfalls [4 Punkte]
  819. Gui,Add,text,cblack x40 y360  +backgroundtrans, /gpunfallb = (Bike) Verursachen eines Unfalls [4 Punkte]
  820. Gui,Add,text,cblack x40 y375  +backgroundtrans, /gpnitroc = (Car) Benutzung von Nitro [1 Punkt]
  821. Gui,Add,text,cblack x40 y390  +backgroundtrans, /gpnitrob = (Bike) Benutzung von Nitro [1 Punkt]
  822.  
  823.  
  824.  
  825. Gui,Add,text,cblack x260 y40  +backgroundtrans, Weitere Tastenbelegungen und Befehle:
  826. Gui,Add,text,cblack x260 y60  +backgroundtrans, 1 = Tazer betätigen
  827. Gui,Add,text,cblack x260 y75  +backgroundtrans, 2 = Frage nach Durchsuchung
  828. Gui,Add,text,cblack x260 y90  +backgroundtrans, 3 = Warnung: Keine Kooperation
  829. Gui,Add,text,cblack x260 y105  +backgroundtrans, 4 = Danke für die Kooperation
  830. Gui,Add,text,cblack x260 y120  +backgroundtrans, 5 = Angehalten: STVO verstoß
  831. Gui,Add,text,cblack x260 y135  +backgroundtrans, 6 = Zahlung oder Verweigerung?
  832. Gui,Add,text,cblack x260 y150  +backgroundtrans, 7 = Oamt Gelände verlassen
  833. Gui,Add,text,cblack x260 y165  +backgroundtrans, 8 = Person durchsuchen
  834. Gui,Add,text,cblack x260 y180  +backgroundtrans, 9 = Gegenstände abnehmen
  835. Gui,Add,text,cblack x260 y195  +backgroundtrans, 0 = Auftrag annehmen
  836.  
  837.  
  838.  
  839. Gui,Add,text,cblack x480 y40  +backgroundtrans, Ticketvergabe:
  840. Gui,Add,text,cblack x480 y60  +backgroundtrans, Alt+1 = Fahren auf der falschen Seite
  841. Gui,Add,text,cblack x480 y75  +backgroundtrans, Alt+2 = Fahren über rote Ampel
  842. Gui,Add,text,cblack x480 y90  +backgroundtrans, Alt+3 = Fahren abseits der Straße
  843. Gui,Add,text,cblack x480 y105  +backgroundtrans, Alt+4 = Benutzung von Nitro
  844. Gui,Add,text,cblack x480 y120  +backgroundtrans, Alt+5 = Burnout / Wheelie auf der Straße
  845. Gui,Add,text,cblack x480 y135  +backgroundtrans, Alt+6 = Erregung öffentlichen Ärgernisses
  846. Gui,Add,text,cblack x480 y150  +backgroundtrans, Alt+7 = Behinderung des Verkehrs
  847. Gui,Add,text,cred x525 y180  +backgroundtrans, Megafon:
  848. Gui,Add,text,cblack x525 y195  +backgroundtrans, Numpad 1: Verkehrskontrolle
  849. Gui,Add,text,cblack x525 y210  +backgroundtrans, Numpad 2: Rechts ran fahren
  850. Gui,Add,text,cblack x525 y225  +backgroundtrans, Numpad 3: Bitte weiter fahren
  851. Gui,Add,text,cblack x525 y240  +backgroundtrans, Numpad 4: Sofort weiter fahren
  852. Gui,Add,text,cblack x525 y255  +backgroundtrans, Numpad 5: Gute Weiterfahrt
  853. Gui,Add,text,cblack x525 y270  +backgroundtrans, Numpad 6: Sofort Straße räumen
  854. Gui,Add,text,cblack x525 y285  +backgroundtrans, Numpad 7: ~ Nicht belegt ~
  855. Gui,Add,text,cblack x525 y300  +backgroundtrans, Numpad 8: Oamtler Online
  856. Gui,Add,text,cblack x525 y315  +backgroundtrans, Numpad 9: Oamtler Informationen
  857.  
  858.  
  859. Gui,Add,text,cblack x715 y40  +backgroundtrans, Meldungen an Cops/Kollegen:
  860. Gui,Add,text,cblack x715 y60  +backgroundtrans, Alt+Numpad 1 = Fahrerflucht (R Chat)
  861. Gui,Add,text,cblack x715 y75  +backgroundtrans, Alt+Numpad 2 = Beschuss auf Beamte (R Chat)
  862. Gui,Add,text,cblack x715 y90  +backgroundtrans, Alt+Numpad 3 = Zerstörung/Diebstahl (R Chat)
  863. Gui,Add,text,cblack x715 y105  +backgroundtrans, Alt+Numpad 7 = Fahrerflucht (D Chat)
  864. Gui,Add,text,cblack x715 y120  +backgroundtrans, Alt+Numpad 8 = Beschuss auf Beamte (D Chat)
  865. Gui,Add,text,cblack x715 y135  +backgroundtrans, Alt+Numpad 9 = Zerstörung/Diebstahl (D Chat)
  866.  
  867.  
  868. Gui,Add,text,cblack x718 y188  +backgroundtrans
  869. Gui,1:Add,Button, w200 h25 gWeitereBefehle,Weitere Befehle
  870. Gui,1:Add,Button, w200 h25 gInformationen,Informationen
  871. Gui,1:Add,Button, w200 h25 gOptionen,Optionen
  872. Gui,1:Add,Button, w200 h25 gPasswort,Passwörter
  873. Gui,1:Add,Button, w200 h25 gTelefonbuch,Telefonbuch
  874. Gui,1: Show,,[RGR] Ordnungsamt Keybinder - v%Version%
  875. return
  876.  
  877. Informationen:
  878. Gui,3:Add,Text,cblack, Informationen:
  879. Gui,3:Add,Text,cblack, Der Keybinder wurde von Blood_Rain, Nils_Wedinger  und AcidRain Programiert.
  880. Gui,3:Add,Text,cblack, Für mögliche Schäden die auf dem PC durch die Nutzung des Keybinders
  881. Gui,3:Add,Text,cblack, entstehen besteht kein Anspruch auf Haftung! Die weitergabe des
  882. Gui,3:Add,Text,cblack, Keybinders ist ohne eine ausdrückliche Erlaubnis verboten und wird
  883. Gui,3:Add,Text,cblack, (C) 2012-%Jahr% Blood_Rain, Nils_Wedinger und AcidRain
  884. Gui,3: show,,Informationen zum Ordnungsamt Keybinder
  885. return
  886.  
  887. Optionen:
  888. Gui,4:Add,Text,cblack, Ingame Name:
  889. Gui,4:Add,Edit, w200 h25 vName, %Name%
  890. Gui,4:Add,Text,cblack, Telefonnummer:
  891. Gui,4:Add,Edit, w200 h25 vTelefon, %Telefon%
  892. Gui,4:add,Button,w200 30 gSpeichern , Speichern
  893. Gui,4: show,,
  894. return
  895.  
  896. Passwort:
  897. passwort1= 123
  898. Gui,6:Add,Text,cblack, Ingame (Login) Passwort:
  899. Gui,6:Add,Edit, w200 h25 vPasswort cblack password, %Passwort%
  900. Gui,6:add,Button,w200 30 gSpeichern , Speichern
  901. Gui,6: show,,
  902. return
  903.  
  904. Telefonbuch:
  905. Gui,7:Add,Text,cblack, Eintrag #1 (Telefonnummer):
  906. Gui,7:Add,Edit, w200 h25 vEintrag1, %Eintrag1%
  907. Gui,7:Add,Text,cblack, Eintrag #2 (Telefonnummer):
  908. Gui,7:Add,Edit, w200 h25 vEintrag2, %Eintrag2%
  909. Gui,7:Add,Text,cblack, Eintrag #3 (Telefonnummer):
  910. Gui,7:Add,Edit, w200 h25 vEintrag3, %Eintrag3%
  911. Gui,7:Add,Text,cblack, Eintrag #4 (Telefonnummer):
  912. Gui,7:Add,Edit, w200 h25 vEintrag4, %Eintrag4%
  913. Gui,7:Add,Text,cblack, Eintrag #5 (Telefonnummer):
  914. Gui,7:Add,Edit, w200 h25 vEintrag5, %Eintrag5%
  915. Gui,7:Add,Text,cblack, Eintrag #6 (Telefonnummer):
  916. Gui,7:Add,Edit, w200 h25 vEintrag6, %Eintrag6%
  917. Gui,7:Add,Text,cblack, Eintrag #7 (Telefonnummer):
  918. Gui,7:Add,Edit, w200 h25 vEintrag7, %Eintrag7%
  919. Gui,7:Add,Text,cblack, Eintrag #8 (Telefonnummer):
  920. Gui,7:Add,Edit, w200 h25 vEintrag8, %Eintrag8%
  921. Gui,7:add,Button,w200 30 gTelefonwrite , Speichern
  922. Gui,7: show,,
  923. return
  924.  
  925. WeitereBefehle:
  926. Gui,8:Add,Text,cblack, Weitere Befehle:
  927. Gui,8:Add,Text,cblack, + = Oamt Tor öffnen
  928. Gui,8:Add,Text,cblack, # = Zerstörungsgarage öffnen
  929. Gui,8:Add,Text,cblack, /jas = Ja, Sir? Wie kann ich Ihnen helfen?
  930. Gui,8:Add,Text,cblack, /tun = Guten Tag. Was kann ich für Sie tun?
  931. Gui,8:Add,Text,cblack, /aus = Bitte aus dem Fahrzeug steigen!
  932. Gui,8:Add,Text,cblack, Alt+ö = Bitte zeigen Sie mir ihre Lizenzen
  933. Gui,8:Add,Text,cblack, Alt+ü = Bitte zeigen Sie mir ihren Ausweis (Perso)
  934. Gui,8: show,,Weitere Befehle vom Keybinder
  935. return
  936.  
  937.  
  938. Telefonwrite:
  939. Gui, Submit, Nohide
  940. IniWrite, %Eintrag1% ,Telefonbuch.ini, Telefonbuch, Eintrag1
  941. IniWrite, %Eintrag2% ,Telefonbuch.ini, Telefonbuch, Eintrag2
  942. IniWrite, %Eintrag3% ,Telefonbuch.ini, Telefonbuch, Eintrag3
  943. IniWrite, %Eintrag4% ,Telefonbuch.ini, Telefonbuch, Eintrag4
  944. IniWrite, %Eintrag5% ,Telefonbuch.ini, Telefonbuch, Eintrag5
  945. IniWrite, %Eintrag6% ,Telefonbuch.ini, Telefonbuch, Eintrag6
  946. IniWrite, %Eintrag7% ,Telefonbuch.ini, Telefonbuch, Eintrag7
  947. IniWrite, %Eintrag8% ,Telefonbuch.ini, Telefonbuch, Eintrag8
  948. IniWrite, %Eintrag9% ,Telefonbuch.ini, Telefonbuch, Eintrag9
  949.  
  950. Gui,7: Destroy
  951. return
  952.  
  953.  
  954. Speichern:
  955. Gui, Submit, Nohide
  956. IniWrite, %Name% ,Settings.ini, Optionen, Name
  957. IniWrite, %Lieferdienst% ,Settings.ini, Optionen, Lieferdienst
  958. IniWrite, %Waffen1% ,Settings.ini, Optionen, Waffen1
  959. IniWrite, %Waffen2% ,Settings.ini, Optionen, Waffen2
  960. IniWrite, %Telefon% ,Settings.ini, Optionen, Telefon
  961. IniWrite, %Passwort% ,Passwörter.ini, Optionen, Passwort
  962.  
  963. Gui,4: Destroy
  964. Gui,6: Destroy
  965. return
  966.  
  967.  
  968.  
  969. GUIclose:
  970.  ExitApp
  971.  
  972.  
  973.  
  974. #NoEnv
  975. SendMode Input
  976. SetWorkingDir %A_ScriptDir%
  977.  
  978.  
  979. +T::
  980. ~t::
  981. Suspend On
  982. Hotkey, Enter, On
  983. Hotkey, Escape, On
  984. Hotkey, t, Off
  985. return
  986.  
  987.  
  988. ~NumpadEnter::
  989. ~Enter::
  990. Suspend Permit
  991. Suspend Off
  992. Hotkey, t, On
  993. Hotkey, Enter, Off
  994. Hotkey, Escape, Off
  995. return
  996.  
  997. ~Escape::
  998. Suspend Permit
  999. Suspend Off
  1000. Hotkey, t, On
  1001. Hotkey, Enter, Off
  1002. Hotkey, Escape, Off
  1003. return
  1004.  
  1005. Pause::
  1006. Suspend
  1007. SendInput, % "t/me " (A_IsSuspended ? "deaktiviert" : "aktiviert") " seinen Keybinder {enter}"
  1008. if(!%A_IsSuspended%)
  1009.     Hotkey, t, On
  1010. return
  1011.  
  1012. F12::
  1013. SendInput %Passwort%{enter}
  1014. return
  1015.  
  1016. y::
  1017. SendInput t/lock{enter}
  1018. SendInput t/engine {enter}
  1019. sleep 2000
  1020. SendInput t/lights{enter}
  1021. return
  1022.  
  1023. o::
  1024.     suspend, on
  1025.     if(Duty == 0)
  1026.     {
  1027.             SendChat("/me Nimmt sein Tazer und das Funkgerät und geht in den dienst")
  1028.             SendChat("/duty")
  1029.             Sleep,1000
  1030.             SendChat("/r Ich bin jetzt OnDuty!")
  1031.             Duty := 1
  1032.     }
  1033.     else if(Duty == 1)
  1034.     {
  1035.             Duty := 0
  1036.             SendChat("/duty")
  1037.             Sleep,1000
  1038.             SendChat("/r Ich bin jetzt OffDuty!")
  1039.     }
  1040.     suspend, off
  1041.     return
  1042.  
  1043.  
  1044.  
  1045. ´::
  1046. SendInput t/r {<}{-} Übernimmt den Auftrag{Enter}
  1047. return
  1048.  
  1049. +´::
  1050. SendInput t/r {<}{-} hat den Auftrag ausgeführt{Enter}
  1051. return
  1052.  
  1053. x::
  1054. SendInput t/engine{enter}
  1055. if(GetVehicleEngineState() == 0)
  1056. {
  1057.     if(GetVehicleLockState() == 0)
  1058.     {
  1059.         ShowGameText("~r~Achtung: ~y~Das Auto ist ~n~~y~noch ~r~nicht~y~ abgeschlossen!", 6000, 3)
  1060.     }
  1061. }
  1062. return
  1063.  
  1064. n::
  1065. SendInput t/tognews{enter}
  1066. return
  1067.  
  1068. .::
  1069. SendInput t/zoll{enter}
  1070. return
  1071.  
  1072. j::
  1073. SendInput t/tow{enter}
  1074. return
  1075.  
  1076. l::
  1077. SendInput t/towcar ls{enter}
  1078. return
  1079.  
  1080. r::
  1081. SendInput t/vehradio{enter}
  1082. return
  1083.  
  1084. b::
  1085. SendInput t/towbike{space}
  1086. Suspend On
  1087. Hotkey, Enter, On
  1088. Hotkey, Escape, On
  1089. return
  1090.  
  1091. :?:/p::
  1092. Suspend
  1093. SendInPut /p{enter}
  1094. Sleep 2000
  1095. SendInPut tHallo{enter}
  1096. Sleep 1000
  1097. SendInPut tHier spricht %Name% vom Los Santos Ordnungsamt{.}{enter}
  1098. Sleep 1000
  1099. SendInPut tWie kann ich Ihnen helfen {?}{enter}
  1100. return
  1101.  
  1102. :?:/u::
  1103. Suspend
  1104. SendInput /p{enter}
  1105. sleep 2000
  1106. SendInput tHier ist der Anrufbeantworter von %Name%{.}{enter}
  1107. sleep 2000
  1108. SendInput tIch rufe Sie später zurück{.} {enter}
  1109. sleep 2000
  1110. SendInput t/h{enter}
  1111. return
  1112.  
  1113. 1::
  1114. SendInput t/tazer{enter}
  1115. return
  1116.  
  1117. 2::
  1118. SendInput tGuten Tag Sir{,} darf ich Sie auf Drogen,Materials,Hackcodes und Waffenbesitz überprüfen{?}{enter}
  1119. sleep 1000
  1120. SendInput tSollten Sie sich weigern, bekommen Sie 1 Wanted und das LSPD wird Sie suchen{!}{enter}
  1121. return
  1122.  
  1123. 3::
  1124. SendInput tSollten Sie NICHT KOOPERIEREN{,} BIN ICH DAZU GEZWUNGEN Ihnen WANTEDS GEBEN ZU LASSEN.{enter}
  1125. return
  1126.  
  1127. 4::
  1128. SendInput tDanke für Ihre Kooperation{.}Ich wünsche Ihnen noch einen schönen Tag{.} {enter}
  1129. return
  1130.  
  1131. 5::
  1132. SendInput tGuten Tag ich bin vom Ordnungsamt{.} {enter}
  1133. sleep 1000
  1134. SendInput tIch habe Sie angehalten{,} da Sie die StVo missachtet haben{.} {enter}
  1135. sleep 2000
  1136. SendInput tBezahlen Sie das Ticket oder Sie bekommen ein Wanted{!} {enter}
  1137. return
  1138.  
  1139. 7::
  1140. SendInput t/s VERLASSEN Sie SOFORT DAS ORDNUNGSAMT GELÄNDE{!} {enter}
  1141. sleep 1000
  1142. SendInput t/s oder ICH BIN GEZWUNGEN DAS LSPD EINZUSCHALTEN{!} {enter}
  1143. return
  1144.  
  1145. 6::
  1146. SendInput t/s ZAHLEN oder VERWEIGERN Sie{?}{!}{!}{!} {enter}
  1147. return
  1148.  
  1149. 8::
  1150. SendInput t/frisk{space}
  1151. Suspend On
  1152. Hotkey, Enter, On
  1153. Hotkey, Escape, On
  1154. return
  1155.  
  1156. 9::
  1157. SendInput t/take{space}
  1158. Suspend On
  1159. Hotkey, Enter, On
  1160. Hotkey, Escape, On
  1161. return
  1162.  
  1163. 0::
  1164. SendInput t/r {<}{-} übernimmt den Auftrag{.} {enter}
  1165. SendInput t/accept oamt{enter}
  1166. ShowGameText("~w~Auftrag angenommen!", 2500, 3)
  1167. return
  1168.  
  1169. !r::
  1170. Send, t{UP}{ENTER}
  1171. return
  1172.  
  1173. !1::
  1174. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus.{Enter}
  1175. Suspend On
  1176. Hotkey, Enter, On
  1177. Hotkey, Escape, On
  1178. SendInput t/sz{space} 7000 Fahren auf der falschen Straßenseite{left 42}
  1179. return
  1180.  
  1181. !2::
  1182. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus.{Enter}
  1183. Suspend On
  1184. Hotkey, Enter, On
  1185. Hotkey, Escape, On
  1186. SendInput t/sz{space} 4000 Fahren über rote Ampel{/}zerstören einer Ampel{left 50}
  1187. return
  1188.  
  1189. !3::
  1190. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus.{Enter}
  1191. Suspend On
  1192. Hotkey, Enter, On
  1193. Hotkey, Escape, On
  1194. SendInput t/sz{space} 3000 Fahren abseits der Straße{left 31}
  1195. return
  1196.  
  1197. !4::
  1198. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus.{Enter}
  1199. Suspend On
  1200. Hotkey, Enter, On
  1201. Hotkey, Escape, On
  1202. SendInput t/sz{space} 2500 Benutzung von Nitro{left 25}
  1203. return
  1204.  
  1205. !5::
  1206. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus.{Enter}
  1207. Suspend On
  1208. Hotkey, Enter, On
  1209. Hotkey, Escape, On
  1210. SendInput t/sz{space} 1000 Burnout{/}Wheelie auf der Straße{/}Bürgersteig{left 48}
  1211. return
  1212.  
  1213. !6::
  1214. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus{.}{Enter}
  1215. Suspend On
  1216. Hotkey, Enter, On
  1217. Hotkey, Escape, On
  1218. SendInput t/sz{space} 10000 Erregung öffentlichen Ärgernisses{left 40}
  1219. return
  1220.  
  1221. !7::
  1222. SendInput t/me holt seinen Computer aus der Tasche und druckt ein Ticket aus.{Enter}
  1223. Suspend On
  1224. Hotkey, Enter, On
  1225. Hotkey, Escape, On
  1226. SendInput t/sz{space} 3000 Behinderung des Verkehrs{left 30}
  1227. return
  1228.  
  1229. Numpad1::
  1230. SendInput t/m {>}{>}Allgemeine Verkehrskontrolle fahren Sie bitte rechts ran{<}{<} {enter}
  1231. return
  1232.  
  1233. Numpad0::
  1234. SendInput t/s {>}{>}Allgemeine Verkehrskontrolle fahren Sie bitte rechts ran{<}{<} {enter}
  1235. return
  1236.  
  1237. Numpad2::
  1238. SendInput t/m {>}{>}SA Ordnungsamt{,} fahren Sie bitte {>}{>}sofort{<}{<} rechts ran{<}{<} {enter}
  1239. return
  1240.  
  1241. Numpad3::
  1242. SendInput t/m {>}{>}SA Ordnungsamt{,} bitte fahren Sie weiter{<}{<} {enter}
  1243. return
  1244.  
  1245. Numpad4::
  1246. SendInput t/m {>}{>}SA Ordnungsamt{,} bitte fahren Sie {>}{>}sofort{<}{<} weiter{<}{<} {enter}
  1247. return
  1248.  
  1249. Numpad5::
  1250. SendInput t/m {>}{>}SA Ordnungsamt{,} Ich wünsche Ihnen eine gute Weiterfahrt{<}{<} {enter}
  1251. return
  1252.  
  1253. Numpad6::
  1254. SendInput t/m {>}{>} SA Ordnungsamt {,} bitte räumen Sie {>}{>}SOFORT{<}{<} die Straße!{<}{<} {enter}
  1255. return
  1256.  
  1257. Numpad8::
  1258. SendInput t/members{Enter}
  1259. return
  1260.  
  1261. Numpad9::
  1262. SendInput t/oamt{Enter}
  1263. return
  1264.  
  1265. !Numpad1::
  1266. SendInput t/r{space}>> Bitte an die Cops weitergeben: <<{Enter}
  1267. Sleep 200
  1268. Suspend On
  1269. Hotkey, Enter, On
  1270. Hotkey, Escape, On
  1271. SendInput t/r{space}ID: {Space}Grund: Fahrerflucht / Verweigerung{left 35}
  1272. return
  1273.  
  1274. !Numpad2::
  1275. SendInput t/r{space}>> Bitte an die Cops weitergeben: <<{Enter}
  1276. Sleep 200
  1277. Suspend On
  1278. Hotkey, Enter, On
  1279. Hotkey, Escape, On
  1280. SendInput t/r{space}ID: {Space}Grund: Beschuss auf Beamte{left 27}
  1281. return
  1282.  
  1283. !Numpad3::
  1284. SendInput t/r{space}>> Bitte an die Cops weitergeben: <<{Enter}
  1285. Sleep 200
  1286. Suspend On
  1287. Hotkey, Enter, On
  1288. Hotkey, Escape, On
  1289. SendInput t/r{space}ID: {Space}Grund: Zerstörung{/}Diebstahl eines Beamtencars{left 46}
  1290. return
  1291.  
  1292. !Numpad7::
  1293. Suspend On
  1294. Hotkey, Enter, On
  1295. Hotkey, Escape, On
  1296. SendInput t/d ID  Oamt : Fahrerflucht / Verweigerung{left 35}
  1297. return
  1298.  
  1299. !Numpad8::
  1300. Suspend On
  1301. Hotkey, Enter, On
  1302. Hotkey, Escape, On
  1303. SendInput t/d ID  Oamt : Grund: Beschuss auf Beamte{left 34}
  1304. return
  1305.  
  1306. !Numpad9::
  1307. Suspend On
  1308. Hotkey, Enter, On
  1309. Hotkey, Escape, On
  1310. SendInput t/d ID  Oamt : Grund: Zerstörung{/}Diebstahl eines Beamtencars{left 53}
  1311. return
  1312.  
  1313. +::
  1314. SendInput t/oaopen {enter}
  1315. return
  1316.  
  1317. #::
  1318. SendInput t/rgopen {enter}
  1319. return
  1320.  
  1321. :?:/gprotc::
  1322. Suspend
  1323. SendInput /givepoints car{space} 4 Fahren über eine rote Ampel{left 30}
  1324. Suspend On
  1325. Hotkey, Enter, On
  1326. Hotkey, Escape, On
  1327. return
  1328.  
  1329. :?:/gprotb::
  1330. Suspend
  1331. SendInput /givepoints bike{space} 4 Fahren über eine rote Ampel{left 30}
  1332. Suspend On
  1333. Hotkey, Enter, On
  1334. Hotkey, Escape, On
  1335. return
  1336.  
  1337. :?:/gpseiteb::
  1338. Suspend
  1339. SendInput /givepoints bike{space} 7 Fahren auf der falschen Straßenseite{left 39}
  1340. Suspend On
  1341. Hotkey, Enter, On
  1342. Hotkey, Escape, On
  1343. return
  1344.  
  1345. :?:/gpseitec::
  1346. Suspend
  1347. SendInput /givepoints car{space} 7 Fahren auf der falschen Straßenseite{left 39}
  1348. Suspend On
  1349. Hotkey, Enter, On
  1350. Hotkey, Escape, On
  1351. return
  1352.  
  1353. :?:/gpunfallc::
  1354. Suspend
  1355. SendInput /givepoints car{space} 4 Verursachen eines Unfalls{left 28}
  1356. Suspend On
  1357. Hotkey, Enter, On
  1358. Hotkey, Escape, On
  1359. return
  1360.  
  1361. :?:/gpunfallb::
  1362. Suspend
  1363. SendInput /givepoints bike{space} 4 Verursachen eines Unfalls{left 28}
  1364. Suspend On
  1365. Hotkey, Enter, On
  1366. Hotkey, Escape, On
  1367. return
  1368.  
  1369. :?:/gpnitroc::
  1370. Suspend
  1371. SendInput /givepoints car{space} 1 Benutzung von Nitro{left 22}
  1372. Suspend On
  1373. Hotkey, Enter, On
  1374. Hotkey, Escape, On
  1375. return
  1376.  
  1377. :?:/gpnitrob::
  1378. Suspend
  1379. SendInput /givepoints bike{space} 1 Benutzung von Nitro{left 22}
  1380. Suspend On
  1381. Hotkey, Enter, On
  1382. Hotkey, Escape, On
  1383. return
  1384.  
  1385. :?:/tb1::
  1386. Suspend Permit
  1387. SendInput /call %Eintrag1%{Enter}
  1388. return
  1389.  
  1390. :?:/tb2::
  1391. Suspend Permit
  1392. SendInput /call %Eintrag2%{Enter}
  1393. return
  1394.  
  1395. :?:/tb3::
  1396. Suspend Permit
  1397. SendInput /call %Eintrag3%{Enter}
  1398. return
  1399.  
  1400. :?:/tb4::
  1401. Suspend Permit
  1402. SendInput /call %Eintrag4%{Enter}
  1403. return
  1404.  
  1405. :?:/tb5::
  1406. Suspend Permit
  1407. SendInput /call %Eintrag5%{Enter}
  1408. return
  1409.  
  1410. :?:/tb6::
  1411. Suspend Permit
  1412. SendInput /call %Eintrag6%{Enter}
  1413. return
  1414.  
  1415. :?:/tb7::
  1416. Suspend Permit
  1417. SendInput /call %Eintrag7%{Enter}
  1418. return
  1419.  
  1420. :?:/tb8::
  1421. Suspend Permit
  1422. SendInput /call %Eintrag8%{Enter}
  1423. return
  1424.  
  1425. :?:/jas::
  1426. Suspend
  1427. SendInput Ja, Sir? Wie kann ich Ihnen helfen?{Enter}
  1428. return
  1429.  
  1430. :?:/tun::
  1431. Suspend
  1432. SendInput Guten Tag. Mein Name ist %Name%, ich bin vom Ordnungsamt.{Enter}
  1433. SendInput tWas kann ich für Sie tun?{Enter}
  1434. return
  1435.  
  1436. !ö::
  1437. SendInput tZeigen Sie mir ihre Lizenzen{!} (/showlicenses %Name%){Enter}
  1438. return
  1439.  
  1440. !ü::
  1441. SendInput tZeigen Sie mir ihren Ausweis (Perso){!} (/showperso %Name%){Enter}
  1442. return
  1443.  
  1444. :?:/aus::
  1445. Suspend
  1446. SendInput Schalten Sie bitte den Motor aus, und steigen aus ihrem Fahrzeug aus{.}{Enter}
  1447. return
  1448.  
  1449. :?:/ww::
  1450. Suspend
  1451. SendInput Das tragen von Waffen in der Öffentlichkeit ist verboten{!}{Enter}
  1452. SendInput tTun Sie die Waffe weg, oder ich muss Sie Ihnen abnehmen.{Enter}
  1453. return
  1454.  
  1455. NumpadAdd::
  1456. City := GetCityName()
  1457. Zone := GetZoneName()
  1458. Health := GetPlayerHealth()
  1459. Armor := GetPlayerArmor()
  1460. Fahrzeug := GetVehicleName()
  1461. PlayerID := GetPlayerId()
  1462. SendInput t/r Ich (ID: %PlayerID%) benötige Verstärkung. Leben: %Health% - Munition: %Armor%{Enter}
  1463. if(IsPlayerInAnyVehicle() == 1)
  1464. {
  1465.     SendInput t/r Ich bin in %Zone% (%City%) - Fahrzeug: %Fahrzeug%{Enter}
  1466. }
  1467. else if(IsPlayerInAnyVehicle() == 0)
  1468. {
  1469.     SendInput t/r Ich bin in %Zone% (%City%) - Fahrzeug: Keins{Enter}
  1470. }
  1471. SendInput t/showme{Enter}
  1472. Sleep 100
  1473. SendInput {Down}
  1474. Sleep 100
  1475. SendInput {Enter}
  1476. return
  1477.  
  1478. NumpadSub::
  1479. SendChat("Es wird keine Verstärkung mehr benötigt!")
  1480. SendInput t/showme{Enter}
  1481. Sleep 100
  1482. SendInput {Down}
  1483. Sleep 100
  1484. SendInput {Down}
  1485. Sleep 100
  1486. SendInput {Down}
  1487. Sleep 100
  1488. SendInput {Down}
  1489. Sleep 100
  1490. SendInput {Down}
  1491. Sleep 100
  1492. SendInput {Enter}
  1493. return
  1494.  
  1495. +C::
  1496. WoBinIch := GetZoneName()
  1497. WoBinIch2 := GetCityName()
  1498. ShowGameText("~n~~b~" WoBinIch " ~y~(" WoBinIch2 ")", 3000, 3)
  1499. return
Advertisement
Add Comment
Please, Sign In to add comment