Phead
The invisble script you're using for this Great plugin was sadly broken at the time you implemented it. Since then it has been fixed. If its possible for you to apply this fix to RTD, it would be great. I've been disabling invis because it causes players to look ghost like when you colorize them after being invis. However now its been fixed. Maybe you might be able to apply this fix to RTD as well?
13th August 2008 - 0.3
- Alpha and color settings now get remembered when players spawn always
- Fixed bug where changing a players color would reset their alpha
His Source Code for invis now uses
CreateInvis(target)
{
g_PlayerColor[target][3] = 0;
SetAlpha(target);
g_Invisible[target] = true;
}
{
g_PlayerColor[target][3] = 255;
SetAlpha(target);
g_Invisible[target] = false;
}
(I don't know if that helps you, but i notice its different from the old coding)
I don't know how complicated this is to add to rtd, as i'm not a coder. but if you seem to have a idea on how to apply this it would be great. Then some of us can turn invis back on. Servers not using color mods are not aware of this problem.
This was the Problem with his invis script
Bug Found:
After Toggling Invisible On & Off, then trying to colorize the same player will cause the player to be transparent (the player will be the color you choose but he is now transparent looking). Is there anything i can change in the Invisible Coding to fix this. Or maybe a plugin update?
However its now fixed
http://forums.alliedmods.net/showthread.php?t=75520
__________________