Raised This Month: $ Target: $400
 0% 

Colored adminchat problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
_Master_
Senior Member
Join Date: Dec 2006
Old 07-25-2007 , 11:44   Re: Colored adminchat problems
Reply With Quote #2

Code:
get_players(players, inum)
    new message[192]
    formatex(message, 191, "%c%s%s: %s", 2, "(ADMINS) ", name, input_message)
 
    for (i = 1; i <= g_maxplayers; ++i)
    {
        if (access(players[i], ADMIN_CHAT) && is_user_connected(i))
        {
now change
g_maxplayers to inum
i=1 to i=0
++i to i++
remove is_user_connected(i)

should work

Last edited by _Master_; 07-25-2007 at 11:47.
_Master_ is offline
 



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 21:33.


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