Rian_Tyler

Untitled

May 5th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. SetTimer, SUSPECT_FIND, 200
  2.  
  3.  
  4. SUSPECT_FIND:
  5. if (!WinExist("GTA:SA:MP")) {
  6. return
  7. }
  8. getChatLine(2, CH2)
  9. getChatLine(3, CH3)
  10. if (inStr(CH2, "Wantedlevel: ") && inStr(CH3, "Name: ")) {
  11. RegExMatch(CH3, "Name\: (.*)", RegExName)
  12. setTimer, SUSPECT, 6000
  13. }
  14. return
  15.  
  16. SUSPECT:
  17. if (!WinExist("GTA:SA:MP")) {
  18. return
  19. }
  20. SendChat("/find " RegExName1)
  21. return
  22.  
  23. ~<::
  24. if (IsChatOpen() || IsDialogOpen()) {
  25. return
  26. }
  27. setTimer, SUSPECT, Off
  28. addChatMessage(0xFFFFFF, "Hast den Find deaktiviert.")
  29. return
Advertisement
Add Comment
Please, Sign In to add comment