Colorchat simple bug
Hi everyone i have a problem with colorchat in fact team colors are bugging sometime is grey sometime red sometime blue no matter in which team you are here is the code where i used colorchat i will send you also my colorchat.inc when i come home (this ^x03 doesn't work well idk why )
PHP Code:
PHP Code:
|
Re: Colorchat simple bug
Because ^x03 is the color of the index (player), which is the first argument of the function. When you send the message to all players at once, you use the index "0" and the plugin is trying to get the team for player "0", which is invalid. When you use "id", instead of "0", there's no problem because it gets the team from "id". You should send the message to every player sepparately, by using "id" or fix the .inc file.
|
Re: Colorchat simple bug
Thanks for the answer i was thinking about that but i wasn't sure 100% i want to show this message to all players i have no idea how to fix this in colorchat.inc
Here is the code PHP Code:
|
Re: Colorchat simple bug
Didn't work man i have the same issue here's the code with your edit help pls it's urgent in few days i won't be able to manage my server
PHP Code:
|
| All times are GMT -4. The time now is 18:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.