Advertisement
Guest User

Untitled

a guest
May 24th, 2024
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. Cleo script :
  2.  
  3. // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
  4.  
  5. {$VERSION 3.1.0027}
  6. {$CLEO .cs}
  7.  
  8. //-------------MAIN---------------
  9. thread 'AUTOCMDSENDER'
  10. 0662: NOP "MADE BY XZYTRO-SPRINGFIELD COLLABORATION"
  11.  
  12. :GET_INFO_FROM_INI
  13. wait 0
  14. if
  15. 0AAB: file_exists "CLEO\autocmdsender.ini"
  16. else_jump @REJECT
  17. 0AF0: 0@ = get_int_from_ini_file "cleo\autocmdsender.ini" section "DELAY" key "MILISECONDS"
  18. 0AF4: 1@v = read_string_from_ini_file "cleo\autocmdsender.ini" section "COMMAND1" key "TYPE"
  19. 0AF4: 5@v = read_string_from_ini_file "cleo\autocmdsender.ini" section "COMMAND2" key "TYPE"
  20. 0AF4: 10@v = read_string_from_ini_file "cleo\autocmdsender.ini" section "COMMAND3" key "TYPE"
  21. 0AF4: 15@v = read_string_from_ini_file "cleo\autocmdsender.ini" section "COMMAND4" key "TYPE"
  22. 0AF2: 20@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS1" key "X"
  23. 0AF2: 21@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS1" key "Y"
  24. 0AF2: 22@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS2" key "X"
  25. 0AF2: 23@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS2" key "Y"
  26. 0AF2: 24@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS3" key "X"
  27. 0AF2: 25@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS3" key "Y"
  28. 0AF2: 26@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS4" key "X"
  29. 0AF2: 27@ = get_float_from_ini_file "cleo\autocmdsender.ini" section "POS4" key "Y"
  30.  
  31. :MAIN
  32. wait 0
  33. if and
  34. 056D: actor $PLAYER_ACTOR defined
  35. 0256: player $PLAYER_CHAR defined
  36. else_jump @MAIN
  37.  
  38. WHILE TRUE
  39. wait 0
  40. if
  41. 00EC: actor $PLAYER_ACTOR sphere 0 near_point 20@ 21@ radius 5.0 5.0
  42. then
  43. 0AF9: samp say_msg "/%s" 1@v
  44. wait 0@
  45. end
  46. if
  47. 00EC: actor $PLAYER_ACTOR sphere 0 near_point 22@ 23@ radius 5.0 5.0
  48. then
  49. 0AF9: samp say_msg "/%s" 5@v
  50. wait 0@
  51. end
  52. if
  53. 00EC: actor $PLAYER_ACTOR sphere 0 near_point 24@ 25@ radius 5.0 5.0
  54. then
  55. 0AF9: samp say_msg "/%s" 10@v
  56. wait 0@
  57. end
  58. if
  59. 00EC: actor $PLAYER_ACTOR sphere 0 near_point 26@ 27@ radius 5.0 5.0
  60. then
  61. 0AF9: samp say_msg "/%s" 15@v
  62. wait 0@
  63. end
  64. end
  65.  
  66. :REJECT
  67. wait 0
  68. 0ACD: show_text_highpriority "~B~FILE MISSING : '~R~Autocmdsender.ini~B~'" time 2500
  69. 0A93: end_custom_thread
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement