Advertisement
Guest User

AutoPIN source

a guest
Jan 18th, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.56 KB | None | 0 0
  1. {$CLEO}
  2.                  
  3. 0662: "AutoPIN"
  4. thread "AutoPIN"
  5. wait 1000
  6.  
  7. 0AB1: call_scm_func @chatmsg 0
  8.  
  9. 5@ = 0
  10. 31@ = 1
  11. 0AC8: 7@ = allocate_memory_size 260
  12. 0AC8: 8@ = allocate_memory_size 260
  13.  
  14. while true
  15. wait 0
  16.     if 0C5D: samp textdraw 2172 is_exists
  17.     then
  18.        
  19.         0AF4: 7@ = read_string_from_ini_file "cleo\autopin.ini" section "Server" key "Name"
  20.         0B2B: samp 6@ = get_player_id_by_actor_handle $PLAYER_ACTOR
  21.         0B36: samp 6@ = get_player_nickname 6@
  22.        
  23.         if
  24.         0C14: strcmp string1 7@ string2 6@
  25.         then  
  26.             0AF0: 8@ = get_int_from_ini_file "cleo\autopin.ini" section "Server" key "PIN"
  27.             while 8@ > 0
  28.                 0B14: 2@ = 8@ MOD 10
  29.                 5@ *= 10
  30.                 0058: 5@ += 2@
  31.                 8@ /= 10
  32.             end
  33.  
  34.             while 5@ > 0
  35.                 0B14: 2@ = 5@ MOD 10
  36.                 10@ = 2166
  37.                 if 2@ == 0
  38.                 then
  39.                     0BCA: samp send_click_textdraw 2176
  40.                 else
  41.                     0058: 10@ += 2@
  42.                     0BCA: samp send_click_textdraw 10@
  43.                 end
  44.                 5@ /= 10
  45.             end
  46.         end
  47.         0BCA: samp send_click_textdraw 112
  48.         free 7@
  49.         free 8@
  50.     end
  51. wait  500
  52. end
  53.  
  54. :chatmsg
  55. 0AA2: 0@ = load_library "samp.dll" // IF and SET
  56. 0085: 1@ = 0@ // (int)
  57. 1@ += 2203876
  58. 0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
  59. 0085: 2@ = 0@ // (int)
  60. 2@ += 409616
  61. chatmsg "{848383}AutoPIN by {000000}- {ad0011}Make" -1
  62. 0AB2: ret 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement