Advertisement
Guest User

What is wrong with my cleo

a guest
Oct 11th, 2022
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. {$CLEO}
  2. {$USE ini}
  3.  
  4. 0662: "made by nyhfox"
  5. thread "0.1"
  6. wait 2500
  7.  
  8. 0B34: samp register_client_command "text" to_label @text
  9. 0B34: samp register_cleint_command "setvipchat" to_label @setvipchat
  10. 0B34: samp register_cleint_command "setlegendchat" to_label @setlegendchat
  11. 0B34: samp register_cleint_command "setpremiumchat" to_label @setpremiumchat
  12.  
  13.  
  14. :cmd_39
  15. wait 0
  16. jump @cmd_39
  17.  
  18. :text
  19. 0AC8: 19@ = allocate_memory_size 260
  20. 0AC8: 17@ = allocate_memory_size 260
  21. 0AC8: 18@ = allocate_memory_size 260
  22. 0AF4: 19@ = read_string_from_ini_file "CLEO\vipchat.ini" section "Vip" key "vipchat"
  23. 0AF4: 17@ = read_string_from_ini_file "CLEO\premiumchat.ini" section "Premium" key "premiumchat"
  24. 0AF4: 18@ = read_string_from_ini_file "CLEO\legendchat.ini" section "Legend" key "legendchat"
  25. 0AF9: samp say_msg 19@
  26. wait 20000
  27. 0AF9: samp say_msg 17@
  28. wait 20000
  29. 0AF9: samp say_msg 18@
  30. wait 22500
  31. 0AF9: samp say_msg 17@
  32. wait 20500
  33. 0AF9: samp say_msg 19@
  34. wait 22500
  35. 0AF9: samp say_msg 18@
  36. wait 22500
  37. 0AF9: samp say_msg 19@
  38. wait 22500
  39. 0AF9: samp say_msg 17@
  40. wait 22500
  41. 0AF9: samp say_msg 18@
  42. wait 19500
  43. 0AF9: samp say_msg 17@
  44. wait 20500
  45. 0AF9: samp say_msg 19@
  46. wait 21500
  47. 0AF9: samp say_msg 18@
  48. wait 22500
  49. 0AF9: samp say_msg 17@
  50. wait 22500
  51. 0AF9: samp say_msg 18@
  52. wait 22500
  53. 0AF9: samp say_msg 17@
  54. wait 19500
  55. 0AF9: samp say_msg 19@
  56. wait 17500
  57. 0AF9: samp say_msg 18@
  58. wait 17500
  59. 0AF9: samp say_msg 17@
  60. wait 17500
  61. 0AF9: samp say_msg 18@
  62. wait 17500
  63. 0AF9: samp say_msg 17@
  64. wait 17500
  65. 0AF9: samp say_msg 19@
  66. wait 17500
  67. 0AF9: samp say_msg 18@
  68. wait 17500
  69. 0AF9: samp say_msg 17@
  70. wait 17500
  71. 0AF9: samp say_msg 18@
  72. wait 17500
  73. 0AF9: samp say_msg 17@
  74. wait 17500
  75. 0AF9: samp say_msg 19@
  76. wait 17500
  77. 0AF9: samp say_msg 18@
  78. wait 17500
  79. 0AF9: samp say_msg 17@
  80. wait 17500
  81. 0AF9: samp say_msg 18@
  82. wait 17500
  83. 0AF9: samp say_msg 17@
  84. wait 17500
  85. 0AF9: samp say_msg 19@
  86. wait 17500
  87. 0AF9: samp say_msg 18@
  88. wait 150
  89. free 19@
  90. free 17@
  91. free 18@
  92. cmdret
  93.  
  94. :setvipchat
  95. if SAMP.IsCommandTyped(20@)
  96. then
  97. 0AF5: write_string 20@ to_ini_file "cleo\vipchat.ini" section "Vip" key "vipchat"
  98. chatmsg "Text %s has been saved to vipchat.”" -1 20@
  99. else
  100. chatmsg "SYNTAX : /setvipchat ”new text”" -1
  101. end
  102. SAMP.CmdRet()
  103.  
  104. :setlegendchat
  105. if SAMP.IsCommandTyped(20@)
  106. then
  107. 0AF5: write_string 20@ to_ini_file "cleo\legendchat.ini" section "Legend" key "legendchat"
  108. chatmsg "Text %s has been saved to legendchat.”" -1 20@
  109. else
  110. chatmsg "SYNTAX : /setlegendchat ”new text”" -1
  111. end
  112. SAMP.CmdRet()
  113.  
  114. :setpremiumchat
  115. if SAMP.IsCommandTyped(20@)
  116. then
  117. 0AF5: write_string 20@ to_ini_file "cleo\premiumchat.ini" section "Premium" key "premiumchat"
  118. chatmsg "Text %s has been saved to premiumchat.”" -1 20@
  119. else
  120. chatmsg "SYNTAX : /setpremiumchat ”new text”" -1
  121. end
  122. SAMP.CmdRet()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement