Raised This Month: $ Target: $400
 0% 

Admins MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Unu
Senior Member
Join Date: Dec 2007
Old 05-29-2008 , 21:26   Admins MOTD
Reply With Quote #1

Hy ... i want a plugin that show a motd list with all admins of the server when somebody types /admin in chat ... i want to appear a motd like in this picture

http://www.postimage.org/image.php?v=aV1Acp_S
__________________
connorr , X-olent , alka , SAMURAI16 , YamiKaitou , arkshine , styles , v3x , ZombieMan , hleV ... only the best here
Unu is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 05-30-2008 , 07:35   Re: Admins MOTD
Reply With Quote #2

Yeah , looks cool . =)
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
PoSiTiOn Of PoWeR
BANNED
Join Date: May 2008
Location: RO
Old 05-30-2008 , 10:19   Re: Admins MOTD
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New AMXX Who"
#define VERSION "1.0"
#define AUTHOR "Alka"

#define CharsMax(%1) sizeof %1 - 1

#define MAX_GROUPS 7

new g_groupNames[MAX_GROUPS][] = {
   
   
"Super Owners",
   
"Owners",
   
"GodS",
   
"Moderator",
   
"Administrator",
   
"Helpers",
   
"Slots"
}

new 
g_groupFlags[MAX_GROUPS][] = {
   
   
"abcdefghijklmnopqrstu",  
   
"abcdefghijklmnopqrst",  
   
"abcdefijmnopqrstu",     
   
"abcefijmnopqrstu",    
   
"befgijmnopqrs",   
   
"bcdefjmnopqr",      
   
"b"           
}

new 
g_groupFlagsValue[MAX_GROUPS];

public 
plugin_init() {
   
   
register_plugin(PLUGINVERSIONAUTHOR);
   
   for(new 
MAX_GROUPS i++)
      
g_groupFlagsValue[i] = read_flags(g_groupFlags[i]);
   
   
register_clcmd("amx_who""cmdWho", -1"");
   
register_clcmd("say /who""cmdWho", -1"");
   
register_clcmd("say /admins""cmdWho", -1"");
   
register_concmd("say /admin""cmdWho", -1"");
   
register_concmd("admin_who""cmdWho", -1"");
}


public 
cmdWho(id)
{
   static 
sPlayers[32], iNumiPlayer;
   static 
sName[32], sBuffer[1024];
   
   static 
iLen;
   
iLen formatex(sBuffersizeof sBuffer 1"<body bgcolor=#000000><font color=#7b68ee><pre>");
   
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen,"<body background=http://aycu13.webshots.com/image/48852/2001176721611529746_rs.jpg bgProperties=fixed><center><font color=#FFFFFF><pre>");
   
   
   
get_players(sPlayersiNum"ch");
   
   for(new 
0MAX_GROUPS i++)
   {   
      
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen"<center><h5><font color=^"red^"><<--<B>%s</B>-->>^n</font></h5></center>"g_groupNames[i]);
     
      for(new 
0iNum x++)
      {   
         
iPlayer sPlayers[x];
         
         if(
get_user_flags(iPlayer) == g_groupFlagsValue[i])
         {
            
get_user_name(iPlayersNamesizeof sName 1);
            
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen"<center>%s^n</center>"sName);
         }
      }
   }
   
show_motd(idsBuffer"Onlines Admins");
   return 
0;


Last edited by PoSiTiOn Of PoWeR; 05-31-2008 at 04:57.
PoSiTiOn Of PoWeR is offline
Send a message via Yahoo to PoSiTiOn Of PoWeR
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 05-30-2008 , 10:37   Re: Admins MOTD
Reply With Quote #4

Thanks for a help .
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Unu
Senior Member
Join Date: Dec 2007
Old 05-30-2008 , 13:41   Re: Admins MOTD
Reply With Quote #5

it isn't that plugin ... read again ! i want this plugin ...

http://www.postimage.org/image.php?v=aV1F5_Pi
__________________
connorr , X-olent , alka , SAMURAI16 , YamiKaitou , arkshine , styles , v3x , ZombieMan , hleV ... only the best here
Unu is offline
Old 05-31-2008, 20:37
Unu
This message has been deleted by YamiKaitou. Reason: invalid bump
Old 06-01-2008, 11:10
Unu
This message has been deleted by YamiKaitou. Reason: stop the bumping before topic lock
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode