Raised This Month: $ Target: $400
 0% 

Vips_motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.G
Senior Member
Join Date: Nov 2008
Old 01-18-2009 , 14:44   Re: Vips_motd
Reply With Quote #1

You can fix that really easy, check out this http://www.amxmodx.org/funcwiki.php?...lcmd&go=search
__________________
Dr.G is offline
Plug me up
Member
Join Date: Aug 2008
Old 01-18-2009 , 19:37   Re: Vips_motd
Reply With Quote #2

Quote:
Originally Posted by Dr.G View Post
You can fix that really easy, check out this http://www.amxmodx.org/funcwiki.php?...lcmd&go=search
no, you dont get it
i want that all the flag D guys are SHOWN in the motd,
not that all who have flag D can see the motd
know what i mean?
__________________
always +karma to thoose who helps
Plug me up is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 01-19-2009 , 06:33   Re: Vips_motd
Reply With Quote #3

Code:
new String[256], name[33];
new max_playas = get_maxplayers();
for(new i = 1; i <= max_playas; i++)
{  
 //Connect check here still...
        if(get_user_flags(i) & ADMIN_BAN) //Or here...
        {
               get_user_name(i, name, 32);
               format(String, 255, "%s, %s", String, name);
        }
}
//Print(String) blblaa...
//....
/*
      Note that you should make better (Only an example), bec that will print/show in motd:
      ", admin_name, admin_name2..."
*/

Last edited by SnoW; 01-19-2009 at 06:36.
SnoW is offline
Send a message via MSN to SnoW
Plug me up
Member
Join Date: Aug 2008
Old 01-19-2009 , 09:42   Re: Vips_motd
Reply With Quote #4

alllright!! its working!! thanks both for trying help and thanks more snow for get it right!

i just replace this
Code:
 if(cmd_access(vi,ADMIN_LEVEL_D))
  {
with this:
Quote:
if(get_user_flags(i) & ADMIN_BAN)
and than, voilla! ahahahah
__________________
always +karma to thoose who helps
Plug me up is offline
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 01:42.


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