Raised This Month: $ Target: $400
 0% 

how do i add colors to adminchat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-06-2009 , 22:47   Re: how do i add colors to adminchat
Reply With Quote #1

Curious why it is case 'p': a = 10 and not 8. I was going down the line to the next number. Also, Forgot about the ML file, even though I am not trying to change the colors that is really good to know for the future. thanks
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-07-2009 , 05:51   Re: how do i add colors to adminchat
Reply With Quote #2

Because colors 8 and 9 are not used in the code.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-07-2009 , 14:40   Re: how do i add colors to adminchat
Reply With Quote #3

You'll get index out of bounds unless you pad your arrays.
__________________
fysiks 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 17:40.


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