Recent Posts
PHP | 1 sec ago
None | 2 sec ago
PHP | 29 sec ago
None | 39 sec ago
Pixel Bender | 48 sec ago
C# | 51 sec ago
None | 1 min ago
SQL | 1 min ago
None | 1 min ago
Bash | 1 min ago
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By mihajlo on the 9th of Feb 2010 09:58:54 PM Download | Raw | Embed | Report
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "MOTD pravila"
  5. #define VERSION "1.0"
  6. #define AUTHOR "Massive Boredom"
  7.  
  8.  
  9.  
  10. public plugin_init()
  11. {
  12.         register_plugin(PLUGIN, VERSION, AUTHOR)
  13.        
  14.        
  15.         register_clcmd("say /sajt","sajt")
  16.         register_clcmd("say_team /sajt","sajt")
  17.        
  18.        
  19.        
  20.        
  21.         register_cvar("Advertise","90")
  22.         set_task(get_cvar_float("Advertise"),"advertise" , _ , _ , _ , "b")  
  23. }
  24.  
  25.  
  26.  
  27. public  obavestenje(id,level,cid)
  28. {
  29.         new configsdir[200]
  30.         new MOTDfile[200]
  31.        
  32.         get_configsdir(configsdir,199)
  33.         format(MOTDfile,199,"%s/motd_poruke/obavestenje.html",configsdir)
  34.        
  35.         show_motd(id,MOTDfile)
  36.        
  37.         return PLUGIN_HANDLED
  38. }
  39.  
  40. public  admini(id,level,cid)
  41. {
  42.         new configsdir[200]
  43.         new MOTDfile[200]
  44.        
  45.         get_configsdir(configsdir,199)
  46.         format(MOTDfile,199,"%s/motd_poruke/admini.html",configsdir)
  47.        
  48.         show_motd(id,MOTDfile)
  49.        
  50.         return PLUGIN_HANDLED
  51. }
  52.  
  53. public  msn(id,level,cid)
  54. {
  55.         new configsdir[200]
  56.         new MOTDfile[200]
  57.        
  58.         get_configsdir(configsdir,199)
  59.         format(MOTDfile,199,"%s/motd_poruke/msn.html",configsdir)
  60.        
  61.         show_motd(id,MOTDfile)
  62.        
  63.         return PLUGIN_HANDLED
  64. }
  65.  
  66. public  milf(id,level,cid)
  67. {
  68.         new configsdir[200]
  69.         new MOTDfile[200]
  70.        
  71.         get_configsdir(configsdir,199)
  72.         format(MOTDfile,199,"http://www.milf-cs.info/motd/milf.html")
  73.        
  74.         show_motd(id,MOTDfile)
  75.        
  76.         return PLUGIN_HANDLED
  77. }
  78.  
  79. public  cena(id,level,cid)
  80. {
  81.         new configsdir[200]
  82.         new MOTDfile[200]
  83.        
  84.         get_configsdir(configsdir,199)
  85.         format(MOTDfile,199,"http://www.milf-cs.info/motd/cena.html")
  86.        
  87.         show_motd(id,MOTDfile)
  88.        
  89.         return PLUGIN_HANDLED
  90. }
  91.  
  92. public  komande(id,level,cid)
  93. {
  94.         new configsdir[200]
  95.         new MOTDfile[200]
  96.        
  97.         get_configsdir(configsdir,199)
  98.         format(MOTDfile,199,"http://www.milf-cs.info/motd/komande.html")
  99.        
  100.         show_motd(id,MOTDfile)
  101.        
  102.         return PLUGIN_HANDLED
  103. }
  104.  
  105.  
  106. public advertise()
  107. {
  108.         client_print(0,print_chat,"Napisite /komande da biste videli sve komande.")
  109.         return PLUGIN_HANDLED
  110. }
  111. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  112. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
  113. */
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: