Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance force
- #ifWinActive GTA:SA:MP
- #include samp.ahk
- $~Enter::
- {
- if (isInChat() && !isDialogOpen())
- {
- dwAddress := dwSAMP + 0x12D8F8
- chatInput := readString(hGTA, dwAddress, 256)
- if (RegExMatch(chatInput, "i)/ppay (?<ID>[0-9]+) (?<Count>[0-9]+)", Out_))
- If Out_Count > 10000
- {
- repeat := Out_Count / 10000
- Loop, % repeat
- {
- Out_Count := Out_Count - 10000
- SendChat("/me дал деняк бомжу")
- SendChat("/pay " Out_ID " 10000")
- Sleep, 1600
- }
- If Out_Count =
- return
- SendChat("/pay " Out_ID " " Out_Count)
- }
- }
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement