Guest User

Untitled

a guest
Aug 20th, 2019
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5. #include <string>
  6.  
  7. #define PLUGIN "New Plug-In"
  8. #define VERSION "1.0"
  9. #define AUTHOR "author"
  10.  
  11. new const teksty[] = {"siema", "elo", "xd", "heh", "rofl"};
  12.  
  13. public plugin_init() {
  14. register_plugin(PLUGIN, VERSION, AUTHOR)
  15.  
  16. set_task(5.0, "wyswietl", 4000, .flags="a", .repeat=1);
  17. }
  18.  
  19. public wyswietl() {
  20. for(new i=1; i<33; i++) {
  21. if(get_user_health(i) > 80) {
  22. for(new j=0; j<5; j++) {
  23. client_print(i, print_chat,"%s", string:teksty[j]);
  24. }
  25. }
  26. }
  27. }
RAW Paste Data