Raised This Month: $ Target: $400
 0% 

Vips_motd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 01-19-2009 , 06:33   Re: Vips_motd
Reply With Quote #4

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
 



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