Ok I am working on some code so that when a player first spawn's your player Avatar is set to A color set. I got them working except for the following the one's with a ~~ after don't work.
The code so far.
package coloronspawn
{
function GameConnection::OnClientEnterGame(%obj.client.player)
{
%client.player.setNodeColor("chest","1 500 1 1");
%client.player.setNodeColor("accent","1 500 1 1"); ~~
%client.player.setNodeColor("hat","1 1 1 1"); ~~
%client.player.setNodeColor("pants","1 500 1 1");
%client.player.setNodeColor("lhand","205 170 125 255 ");
%client.player.setNodeColor("rhand","205 170 125 255 ");
%client.player.setNodeColor("larm","1 500 1 1");
%client.player.setNodeColor("rarm","1 500 1 1");
%client.player.setNodeColor("lshoe","163 91 71 255");
%client.player.setNodeColor("rshoe","163 91 71 255");
%client.player.setNodeColor("secondPack","163 91 71 255"); ~~
%client.player.setNodeColor("pack","163 91 71 255"); ~~
Package::OnClientEnterGame(%client, %this, %obj, %col,)
}
};
activatepackage(ColorOnSpawn);