Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. #SingleInstance force
  2. #ifWinActive GTA:SA:MP
  3. #include samp.ahk
  4. $~Enter::
  5. {
  6. if (isInChat() && !isDialogOpen())
  7. {
  8. dwAddress := dwSAMP + 0x12D8F8
  9. chatInput := readString(hGTA, dwAddress, 256)
  10. if (RegExMatch(chatInput, "i)/ppay (?<ID>[0-9]+) (?<Count>[0-9]+)", Out_))
  11. If Out_Count > 10000
  12. {
  13. repeat := Out_Count / 10000
  14. Loop, % repeat
  15. {
  16. Out_Count := Out_Count - 10000
  17. SendChat("/me дал деняк бомжу")
  18. SendChat("/pay " Out_ID " 10000")
  19. Sleep, 1600
  20. }
  21. If Out_Count =
  22. return
  23. SendChat("/pay " Out_ID " " Out_Count)
  24. }
  25. }
  26. }
  27. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement