Recent Posts
None | 5 sec ago
XML | 8 sec ago
None | 13 sec ago
None | 24 sec ago
None | 32 sec ago
XML | 47 sec ago
None | 50 sec ago
None | 53 sec ago
None | 53 sec ago
None | 56 sec ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
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 a on the 9th of Feb 2010 10:41:14 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.  public  sajt(id,level,cid)
  21. {
  22.         new configsdir[200]
  23.         new MOTDfile[200]
  24.        
  25.         get_configsdir(configsdir,199)
  26.         format(MOTDfile,199,"%s/motd_poruke/sajt.html",configsdir)
  27.        
  28.         show_motd(id,MOTDfile)
  29.        
  30.         return PLUGIN_HANDLED
  31. }
  32.  
  33. public  admini(id,level,cid)
  34. {
  35.         new configsdir[200]
  36.         new MOTDfile[200]
  37.        
  38.         get_configsdir(configsdir,199)
  39.         format(MOTDfile,199,"%s/motd_poruke/admini.html",configsdir)
  40.        
  41.         show_motd(id,MOTDfile)
  42.        
  43.         return PLUGIN_HANDLED
  44. }
  45.  
  46. public  obavestenje(id,level,cid)
  47. {
  48.         new configsdir[200]
  49.         new MOTDfile[200]
  50.        
  51.         get_configsdir(configsdir,199)
  52.         format(MOTDfile,199,"%s/motd_poruke/obavestenje.html",configsdir)
  53.        
  54.         show_motd(id,MOTDfile)
  55.        
  56.         return PLUGIN_HANDLED
  57. }
  58.  
  59. public  cena(id,level,cid)
  60. {
  61.         new configsdir[200]
  62.         new MOTDfile[200]
  63.        
  64.         get_configsdir(configsdir,199)
  65.         format(MOTDfile,199,"%s/motd_poruke/cena.html",configsdir)
  66.        
  67.         show_motd(id,MOTDfile)
  68.        
  69.         return PLUGIN_HANDLED
  70. }
  71.  
  72. public  msn(id,level,cid)
  73. {
  74.         new configsdir[200]
  75.         new MOTDfile[200]
  76.        
  77.         get_configsdir(configsdir,199)
  78.         format(MOTDfile,199,"%s/motd_poruke/msn.html",configsdir)
  79.        
  80.         show_motd(id,MOTDfile)
  81.        
  82.         return PLUGIN_HANDLED
  83. }
  84.  
  85. public  komande(id,level,cid)
  86. {
  87.         new configsdir[200]
  88.         new MOTDfile[200]
  89.        
  90.         get_configsdir(configsdir,199)
  91.         format(MOTDfile,199,"%s/motd_poruke/komande.html",configsdir)
  92.        
  93.         show_motd(id,MOTDfile)
  94.        
  95.         return PLUGIN_HANDLED
  96. }
  97.  
  98. public  milf(id,level,cid)
  99. {
  100.         new configsdir[200]
  101.         new MOTDfile[200]
  102.        
  103.         get_configsdir(configsdir,199)
  104.         format(MOTDfile,199,"%s/motd_poruke/milf.html",configsdir)
  105.        
  106.         show_motd(id,MOTDfile)
  107.        
  108.         return PLUGIN_HANDLED
  109. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: