Raised This Month: $ Target: $400
 0% 

Colored adminchat problems


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DTE
Junior Member
Join Date: Nov 2006
Old 07-25-2007 , 10:36   Colored adminchat problems
Reply With Quote #1

Since we're not getting any response on nsmod.org I'm also posting it here hoping that someone can figure out what's wrong with it

http://www.nsmod.org/forums/index.php?showtopic=10155

TE also posted a list of plugins running on the server as a reply on that thread

Tkx in advance
DTE is offline
_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
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 21:33.


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