Guest User

Triaden Keybinder

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