Guest User

Untitled

a guest
Mar 18th, 2013
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.05 KB | None | 0 0
  1. #IfWinActive GTA:SA:MP
  2. #SingleInstance force
  3. #NoEnv
  4. ;lädt API.dll automatisch, wenn Sie nicht vorhanden ist:
  5. FileGetSize, OutputVar, API.dll
  6. If (OutputVar == "")
  7. URLDownloadToFile, http://samp-api.net/downloads/current_api/API.dll, API.dll
  8. #include API.ahk
  9. SetTimer, readChat, 100
  10. SetTimer, Box, 900
  11. SetTimer, Ping, 900
  12. SetTimer, Zone, 900
  13. SetTimer, ID, 900
  14. SetTimer, Level, 900
  15. ; TIMER ;
  16. getplayerdata()
  17. box_Overlay := -1
  18. Ping_Overlay := -1
  19. Zone_Overlay := -1
  20. ID_Overlay := -1
  21. Level_Overlay:= -1
  22.  
  23. x := GetScreenSizeX()
  24. If ( x > 560) Textgröße = 12
  25. If (x > 1024) Textgröße = 14
  26. FileRead,playername,name.txt
  27. FileDelete,name.txt
  28. Fileappend,%playername%,name.txt
  29. FileRead,dmunition,2deagle_munition.txt
  30. FileRead,amunition,2ak_munition.txt
  31. FileRead,smunition,2shotgun_munition.txt
  32. FileRead,mmunition,2m4_munition.txt
  33. FileDelete,2deagle_munition.txt
  34. FileDelete,2ak_munition.txt
  35. FileDelete,2m4_munition.txt
  36. FileDelete,2shotgun_munition.txt
  37. If (dmunition == "")
  38. dmunition := 293
  39. If (amunition == "")
  40. amunition := 470
  41. If (mmunition == "")
  42. mmunition := 470
  43. If (smunition == "")
  44. smunition := 199
  45. Fileappend,%dmunition%,2deagle_munition.txt
  46. Fileappend,%amunition%,2ak_munition.txt
  47. Fileappend,%mmunition%,2m4_munition.txt
  48. Fileappend,%smunition%,2shotgun_munition.txt
  49.  
  50. RegisterTextBind("/gate", 1285.747070,-2054.785889,58.713394, 6, 1, 6000)
  51. RegisterTextBind("/loadweapons 5",219.7454,7.5686,2.6884, 10.5, 1, 10000)
  52. RegisterTextBind("/unloadweapons", 1119.6101,-1173.0078,22.6565, 10.5, 1, 30000)
  53. RegisterTextBind("/zoll", 57.5687,-1538.6981,5.0971, 6, 1, 6000)
  54. RegisterTextBind("/zoll", 1739.4640,510.8497,28.5648, 6, 1, 6000)
  55. RegisterTextBind("/zoll", 1748.4053,507.3607,28.5840, 6, 1, 6000)
  56. RegisterTextBind("/zoll", 1733.5543,521.0560,28.1247, 6, 1, 6000)
  57. RegisterTextBind("/zoll", 1724.6410,524.2784,28.1106, 6, 1, 6000)
  58. RegisterTextBind("/zoll", 66.7720,-1527.6808,4.8815, 6, 1, 6000)
  59.  
  60. ~1::
  61. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1)
  62. return
  63. if(IsPlayerInRangeOfPoint2D(295.6162,-39.9934, 15))
  64. {
  65. AddChatMessage(0xffffff, "Es wird eine Deagle mit " dmunition " Munition erworben.")
  66. Send {Enter}
  67. sleep, 50
  68. Send, {f down}
  69. sleep, 50
  70. Send, {f up}
  71. i := 0
  72. While (IsDialogOpen() == 0)
  73. {
  74. sleep, 100
  75. i+= 1
  76. If (i == 10)
  77. {
  78. Send, {f down}
  79. sleep, 50
  80. Send, {f up}
  81.  
  82. }
  83. If (i == 20)
  84. {
  85. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0301) - " i)
  86. return
  87. }
  88. }
  89. Send, {Down} {Enter}
  90. i := 0
  91. While (IsDialogOpen() == 0)
  92. {
  93. sleep, 100
  94. i+= 1
  95. If (i == 10)
  96. {
  97. Send, {Down} {Enter}
  98.  
  99. }
  100. If (i == 20)
  101. {
  102. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0302) - " i)
  103. return
  104. }
  105. }
  106. Send, {Enter}
  107. i := 0
  108. While (IsDialogOpen() == 0)
  109. {
  110. sleep, 100
  111. i+= 1
  112. If (i == 10)
  113. {
  114. Send, {Enter}
  115.  
  116. }
  117. If (i == 20)
  118. {
  119. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0303) - " i)
  120. return
  121. }
  122. }
  123. Send, {Pgdn}
  124.  
  125. i := 0
  126. While (IsDialogOpen() == 0)
  127. {
  128. sleep, 200
  129. i+= 1
  130. If (i == 10)
  131. {
  132. Send, {Pgdn}
  133.  
  134. AddChatMessage(0xffffff, "Dialog-Handling wurde wiederholt (e0304) - " i)
  135. }
  136. If (i == 20)
  137. {
  138. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0304) - " i)
  139. return
  140. }
  141. }
  142. Send, {Enter}
  143. i := 0
  144. sleep, 200
  145. Send, {f down}
  146. sleep, 50
  147. Send, {f up}
  148. i := 0
  149. While (IsDialogOpen() == 0)
  150. {
  151. sleep, 100
  152. i+= 1
  153. If (i == 10)
  154. {
  155. Send, {f down}
  156. sleep, 50
  157. Send, {f up}
  158.  
  159. }
  160. If (i == 20)
  161. {
  162. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0306) - " i)
  163. return
  164. }
  165. }
  166. Send, {Down}{Down}{Enter}
  167. i := 0
  168. While (IsDialogOpen() == 0)
  169. {
  170. sleep, 100
  171. i+= 1
  172. If (i == 10)
  173. {
  174. Send, {Down}{Down}{Enter}
  175.  
  176. }
  177. If (i == 20)
  178. {
  179. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0307) - " i)
  180. return
  181. }
  182. }
  183. Send, {Enter}
  184. i := 0
  185. While (IsDialogOpen() == 0)
  186. {
  187. sleep, 100
  188. i+= 1
  189. If (i == 10)
  190. {
  191. Send, {Enter}
  192.  
  193. }
  194. If (i == 20)
  195. {
  196. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0308) - " i)
  197. return
  198. }
  199. }
  200. Send, {pgdn}{enter}
  201. i := 0
  202. While (IsDialogOpen() == 0)
  203. {
  204. sleep, 100
  205. i+= 1
  206. If (i == 10)
  207. {
  208. Send, {pgdn}{enter}
  209. }
  210. If (i == 20)
  211. {
  212. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0309) - " i)
  213. return
  214. }
  215. }
  216. Send, %dmunition%{enter}
  217. return
  218. }
  219. return
  220.  
  221. ~2::
  222. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1 )
  223. return
  224. if(IsPlayerInRangeOfPoint2D(295.6162,-39.9934, 15))
  225. {
  226. AddChatMessage(0xffffff, "Es wird eine Schutzweste erworben.")
  227. Send, {f down}
  228. sleep, 50
  229. Send, {f up}
  230. i := 0
  231. While (IsDialogOpen() == 0)
  232. {
  233. sleep, 100
  234. i+= 1
  235. If (i == 20)
  236. {
  237. AddChatMessage(0xffffff, "Dialog-Timeout, Weste wurde nicht erworben. (e0301) - " i)
  238. return
  239. }
  240. }
  241. If (IsDialogOpen() == 0)
  242. return
  243. Send, {Pgdn}{Enter}
  244. i := 0
  245. While (IsDialogOpen() == 0)
  246. {
  247. sleep, 100
  248. i+= 1
  249. If (i == 20)
  250. {
  251. AddChatMessage(0xffffff, "Dialog-Timeout, Weste wurde nicht erworben. (e0302) - " i)
  252. return
  253. }
  254. }
  255. Send, {Pgdn}{Enter}
  256. If (next == 2)
  257. {
  258. next := 0
  259. }
  260. return
  261. }
  262. return
  263.  
  264.  
  265. ~3::
  266. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1 )
  267. return
  268. if(IsPlayerInRangeOfPoint2D(295.6162,-39.9934, 15))
  269. {
  270. AddChatMessage(0xffffff, "Es wird eine AK mit " amunition " Munition erworben.")
  271. Send, {f down}
  272. sleep, 50
  273. Send, {f up}
  274. While (IsDialogOpen() == 0)
  275. {
  276. sleep, 100
  277. i+= 1
  278. If (i == 20)
  279. {
  280. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0301) - " i)
  281. return
  282. }
  283. }
  284. Send, {Down}{Enter}
  285. i := 0
  286. While (IsDialogOpen() == 0)
  287. {
  288. sleep, 100
  289. i+= 1
  290. If (i == 20)
  291. {
  292. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0302) - " i)
  293. return
  294. }
  295. }
  296. Send, {down}{down}{enter}
  297.  
  298. i := 0
  299. While (IsDialogOpen() == 0)
  300. {
  301. sleep, 100
  302. i+= 1
  303. If (i == 20)
  304. {
  305. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0303) - " i)
  306. return
  307. }
  308. }
  309. Send, {Enter}
  310. sleep, 100
  311. Send, {f down}
  312. sleep, 100
  313. Send, {f up}
  314. i := 0
  315. While (IsDialogOpen() == 0)
  316. {
  317. sleep, 100
  318. i+= 1
  319. If (i == 20)
  320. {
  321. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0304) - " i)
  322. return
  323. }
  324. }
  325. If (IsDialogOpen() == 0)
  326. sleep, 150
  327. Send, {Down}{Down}{Enter}
  328. i := 0
  329. While (IsDialogOpen() == 0)
  330. {
  331. sleep, 100
  332. i+= 1
  333. If (i == 20)
  334. {
  335. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0305) - " i)
  336. return
  337. }
  338. }
  339. Send, {Down}{Down}{Enter}
  340. i := 0
  341. While (IsDialogOpen() == 0)
  342. {
  343. sleep, 100
  344. i+= 1
  345. If (i == 20)
  346. {
  347. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0306) - " i)
  348. return
  349. }
  350. }
  351. Send, {Enter}
  352. i := 0
  353. While (IsDialogOpen() == 0)
  354. {
  355. sleep, 100
  356. i+= 1
  357. If (i == 20)
  358. {
  359. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0307) - " i)
  360. return
  361. }
  362. }
  363. Send, %amunition%{Enter}
  364.  
  365.  
  366. Return
  367. }
  368. return
  369.  
  370. ~4::
  371. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1 )
  372. return
  373. if(IsPlayerInRangeOfPoint2D(295.6162,-39.9934, 15))
  374. {
  375. AddChatMessage(0xffffff, "Es wird eine M4 mit " mmunition " Munition erworben.")
  376. Send, {f down}
  377. sleep, 50
  378. Send, {f up}
  379. While (IsDialogOpen() == 0)
  380. {
  381. sleep, 100
  382. i+= 1
  383. If (i == 20)
  384. {
  385. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0301) - " i)
  386. return
  387. }
  388. }
  389. Send, {Down}{Enter}
  390. i := 0
  391. While (IsDialogOpen() == 0)
  392. {
  393. sleep, 100
  394. i+= 1
  395. If (i == 20)
  396. {
  397. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0302) - " i)
  398. return
  399. }
  400. }
  401. Send, {down}{down}{enter}
  402.  
  403. i := 0
  404. While (IsDialogOpen() == 0)
  405. {
  406. sleep, 100
  407. i+= 1
  408. If (i == 20)
  409. {
  410. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0303) - " i)
  411. return
  412. }
  413. }
  414. Send, {down}{Enter}
  415. sleep, 100
  416. Send, {f down}
  417. sleep, 100
  418. Send, {f up}
  419. i := 0
  420. While (IsDialogOpen() == 0)
  421. {
  422. sleep, 100
  423. i+= 1
  424. If (i == 20)
  425. {
  426. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0304) - " i)
  427. return
  428. }
  429. }
  430. If (IsDialogOpen() == 0)
  431. sleep, 150
  432. Send, {Down}{Down}{Enter}
  433. i := 0
  434. While (IsDialogOpen() == 0)
  435. {
  436. sleep, 100
  437. i+= 1
  438. If (i == 20)
  439. {
  440. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0305) - " i)
  441. return
  442. }
  443. }
  444. Send, {Down}{Down}{Enter}
  445. i := 0
  446. While (IsDialogOpen() == 0)
  447. {
  448. sleep, 100
  449. i+= 1
  450. If (i == 20)
  451. {
  452. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0306) - " i)
  453. return
  454. }
  455. }
  456. Send, {down}{Enter}
  457. i := 0
  458. While (IsDialogOpen() == 0)
  459. {
  460. sleep, 100
  461. i+= 1
  462. If (i == 20)
  463. {
  464. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0307) - " i)
  465. return
  466. }
  467. }
  468. Send, %mmunition%{Enter}
  469.  
  470.  
  471. Return
  472. }
  473. return
  474.  
  475. ~5::
  476. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1 )
  477. return
  478. if(IsPlayerInRangeOfPoint2D(295.6162,-39.9934, 15) && speecing < 1)
  479. {
  480. AddChatMessage(0xffffff, "Es wird eine Shotgun mit " smunition " Munition erworben.")
  481. Send, {f down}
  482. sleep, 50
  483. Send, {f up}
  484. While (IsDialogOpen() == 0)
  485. {
  486. sleep, 100
  487. i+= 1
  488. If (i == 20)
  489. {
  490. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0301) - " i)
  491. return
  492. }
  493. }
  494. Send, {Down}{Enter}
  495. i := 0
  496. While (IsDialogOpen() == 0)
  497. {
  498. sleep, 100
  499. i+= 1
  500. If (i == 20)
  501. {
  502. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0302) - " i)
  503. return
  504. }
  505. }
  506. Send, {down}{down}{down}{enter}
  507.  
  508. i := 0
  509. While (IsDialogOpen() == 0)
  510. {
  511. sleep, 100
  512. i+= 1
  513. If (i == 20)
  514. {
  515. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0303) - " i)
  516. return
  517. }
  518. }
  519. Send, {Enter}
  520. sleep, 100
  521. Send, {f down}
  522. sleep, 100
  523. Send, {f up}
  524. i := 0
  525. While (IsDialogOpen() == 0)
  526. {
  527. sleep, 100
  528. i+= 1
  529. If (i == 20)
  530. {
  531. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0304) - " i)
  532. return
  533. }
  534. }
  535. If (IsDialogOpen() == 0)
  536. sleep, 150
  537. Send, {Down}{Down}{Enter}
  538. i := 0
  539. While (IsDialogOpen() == 0)
  540. {
  541. sleep, 100
  542. i+= 1
  543. If (i == 20)
  544. {
  545. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0305) - " i)
  546. return
  547. }
  548. }
  549. Send, {Down}{Down}{down}{Enter}
  550. i := 0
  551. While (IsDialogOpen() == 0)
  552. {
  553. sleep, 100
  554. i+= 1
  555. If (i == 20)
  556. {
  557. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0306) - " i)
  558. return
  559. }
  560. }
  561. Send, {Enter}
  562. i := 0
  563. While (IsDialogOpen() == 0)
  564. {
  565. sleep, 100
  566. i+= 1
  567. If (i == 20)
  568. {
  569. AddChatMessage(0xffffff, "Dialog-Timeout, Waffe wurde nicht erworben. (e0307) - " i)
  570. return
  571. }
  572. }
  573. Send, %smunition%{Enter}
  574.  
  575. Return
  576.  
  577.  
  578. }
  579.  
  580. return
  581. :*?:/keybinderhilfe::
  582. Suspend, Permit
  583. Send {enter}
  584. ShowDialog(0, "Keybinderhilfe", "°~ Keybinder Hilfe ~°`n***********************`n{FF0000}Waffen kaufen:{FFFFFF} `n | 1 Für eine Deagle mit 293 Schuss |`n | 2 Für eine volle Schutzweste |`n | 3 Für eine AK47 mit 470 Schuss |`n | 4 Für eine M4 mit 470 Schuss |`n | 5 Für eine Shotgun mit 199 Schuss |`n `n {00FF00}[Keybinder aus / ein [F12]{FFFFFF}`n `n {FF0000}Keybinds:{FFFFFF} `n | Alt + 1 = /takeflag |`n | Alt + 2 = /gangwar |`n | Alt + 3 = /faction |`n | Alt + 4 = .. |`n `n ", "OK")
  585. Suspend, Off
  586. Suspend, Off
  587. return
  588.  
  589. ; KEYBINDS | Anfang ;
  590.  
  591. !4::
  592. if(IsChatOpen() == 1|| IsDialogOpen() == 1)
  593. return
  594. SendChat("/smoke")
  595. return
  596.  
  597. ~NumpadAdd::
  598. if(IsChatOpen() == 1|| IsDialogOpen() == 1)
  599. return
  600. SendInput t/pickup{enter}
  601. SendInput tHallo sie sprechen mit %playername% | Triaden | Rank 7 |{enter}
  602. SendInput tWas kann ich für sie tun?{enter}
  603. return
  604.  
  605. !3::
  606. if(IsChatOpen() == 1|| IsDialogOpen() == 1)
  607. return
  608. SendInput t/faction{enter}
  609. return
  610.  
  611. !2::
  612. if(IsChatOpen() == 1|| IsDialogOpen() == 1)
  613. return
  614. SendInput t/gangwar{enter}
  615. return
  616.  
  617. !1::
  618. if(IsChatOpen() == 1|| IsDialogOpen() == 1)
  619. return
  620. SendInput t/takeflag{enter}
  621. return
  622.  
  623. ; KEYBINDS | Ende ;
  624.  
  625.  
  626. ; Gangwar Killzähler | Anfang ;
  627.  
  628. readChat:
  629. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  630. {
  631. If (CHATLOG_zeile >= A_Index)
  632. Continue
  633. CHATLOG_zeile := A_Index
  634. If (InStr(A_LoopReadLine, "tötet seinen Feind") && InStr(A_LoopReadLine,"Triaden"))
  635. {
  636. RegExMatch(A_LoopReadLine, "\[([0-9:]*)\]" ,var)
  637. FormatTime,timenow,,HHmmss
  638. logtime := RegExReplace(var1, ":", "")
  639. result := timenow - logtime
  640. If (result > 30)
  641. continue
  642. RegExMatch(A_LoopReadLine, "R\] (.*) tötet seinen Feind" ,var)
  643. IniRead,playerkills,kill-death-flag.ini,kills,%var1%
  644. if (playerkills == ERROR)
  645. playerkills = 0
  646. playerkills +=1
  647. IniWrite,%playerkills%,kill-death-flag.ini,kills,%var1%
  648. AddChatMessage(0xff00ff, "{00FF00}Das war der " playerkills ". Kill von {FFFFFF}" var1 "{00FF00}.{FFFFFF}")
  649. If (var1 = playername)
  650. SoundPlay, ring.mp3
  651. return
  652. }
  653. If (InStr(A_LoopReadLine, "Es wurde ein Gangwar ") && InStr(A_LoopReadLine,"Triaden"))
  654. FileDelete, kill-death-flag.ini
  655. }
  656.  
  657. ; Gangwar Killzähler | Ende ;
  658. Box:
  659. {
  660. If(WinActive("GTA:SA:MP"))
  661. {
  662. If(box_Overlay == -1)
  663. {
  664. box_Overlay := BoxCreate()
  665. BoxSetPos(box_Overlay, 621, 211)
  666. BoxSetBorder(id, 2)
  667. BoxSetHeight(id, 90)
  668. BoxSetWidth(id, 150)
  669. BoxSetBorderColor(id, 0xFFFFFFFFCC)
  670. BoxSetColor(id, 0xFFFF000000)
  671. BoxShow(box_Overlay)
  672. }
  673. }
  674. return
  675. }
  676. return
  677.  
  678. Ping:
  679. {
  680. If(WinActive("GTA:SA:MP"))
  681. {
  682. If(Ping_Overlay == -1)
  683. {
  684. Ping_Overlay := TextCreate("Calibri", Schriftgröße, true, false)
  685. TextSetPos(Ping_Overlay, 623, 288)
  686. TextSetColor(Ping_Overlay, 0xFFFFFFFF)
  687. Textshow(Ping_Overlay)
  688. }
  689. TextSetString(Ping_Overlay, "Ping: " GetPlayerPing() " | " )
  690. }
  691. return
  692. }
  693. return
  694.  
  695. Zone:
  696. {
  697. If(WinActive("GTA:SA:MP"))
  698. {
  699. If(Zone_Overlay == -1)
  700. {
  701. Zone_Overlay := TextCreate("Calibri", Schriftgröße, true, false)
  702. TextSetPos(Zone_Overlay, 620, 250)
  703. TextSetColor(Zone_Overlay, 0xFFFFFFFF)
  704. Textshow(Zone_Overlay)
  705. }
  706. GetZoneName(MyZone)
  707. TextSetString(Zone_Overlay, " Zone: " MyZone " | " )
  708. }
  709. return
  710. }
  711. return
  712.  
  713. ID:
  714. {
  715. If(WinActive("GTA:SA:MP"))
  716. {
  717. If(ID_Overlay == -1)
  718. {
  719. ID_Overlay := TextCreate("Calibri", Schriftgröße, true, false)
  720. TextSetPos(ID_Overlay, 623, 210)
  721. TextSetColor(ID_Overlay, 0xFFFFFFFF)
  722. Textshow(ID_Overlay)
  723. }
  724. TextSetString(ID_Overlay, "ID: " GetPlayerID() " | ")
  725. }
  726. return
  727. }
  728. return
  729.  
  730. Level:
  731. {
  732. If(WinActive("GTA:SA:MP"))
  733. {
  734. If(Level_Overlay == -1)
  735. {
  736. Level_Overlay := TextCreate("Calibri", Schriftgröße, true, false)
  737. TextSetPos(Level_Overlay, 660, 210)
  738. TextSetColor(Level_Overlay, 0xFFFFFFFF)
  739. Textshow(Level_Overlay)
  740. }
  741. TextSetString(Level_Overlay, " Level: " GetPlayerScore() " | ")
  742. }
  743. return
  744. }
  745. return
  746.  
  747.  
  748.  
  749.  
  750.  
  751. F12::Suspend
  752. return
  753. ; Keybinder aus / ein ;
Advertisement
Add Comment
Please, Sign In to add comment