Advertisement
Guest User

Untitled

a guest
Jan 10th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
  2. {$CLEO .cs}
  3.  
  4. //-------------MAIN---------------
  5. 0000: NOP
  6.  
  7. :NONAME_2
  8. wait 0
  9. SAMP.Available
  10. jf @NONAME_2
  11.  
  12. :NONAME_15
  13. wait 0
  14. if
  15. 056D: actor $PLAYER_ACTOR defined
  16. jf @NONAME_313
  17. wait 0
  18. 0A8D: 29@ = read_memory 12010640 size 4 virtual_protect 0
  19. 29@ += 4
  20. 0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
  21. 30@ = 0
  22.  
  23. :NONAME_79
  24. 0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
  25. 29@ += 1
  26. if and
  27. 31@ >= 0
  28. 128 > 31@
  29. jf @NONAME_288
  30. 005A: 31@ += 30@ // (int)
  31. if and
  32. 803B: not 31@ == $PLAYER_ACTOR // (int)
  33. 056D: actor 31@ defined
  34. jf @NONAME_288
  35. 0@ = SAMP.GetSAMPPlayerIDByActorHandle(31@)
  36. 8@ = SAMP.GetPlayerNickname(0@)
  37. 9@ = SAMP.GetPlayerColor(0@)
  38. Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
  39. Actor.StorePos(31@, 4@, 5@, 6@)
  40. 0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@
  41. if
  42. not 7@ > 2.0
  43. jf @NONAME_288
  44. if and
  45. not SAMP.ChatInputOpened
  46. key_down 106
  47. jf @NONAME_288
  48. say "/PAGYDYTI %D" 0@
  49. wait 1000
  50.  
  51. :NONAME_288
  52. 30@ += 256
  53. 30@ > 35584
  54. jf @NONAME_79
  55.  
  56. :NONAME_313
  57. goto @NONAME_15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement