1
Off Topic / poland reveals pl 01 tank prototype
« on: December 22, 2013, 09:48:59 PM »I dont know anything about tanks but I have to say this tank looks badass
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
datablock ShapeBaseImageData(HatImage)
{
shapeFile = "./hat.dts";
emap = false;
doColorShift = false;
colorshiftcolor = "0 0 0 1";
mountPoint = $HeadSlot;
offset = "0 0 0.24";
eyeOffset = "-5 -5 -5";
rotation = "0 0 0 0";
className = "ItemImage";
};
function serverCmdHat(%client)
{
%player = %client.player;
if(isObject(%player))
{
if(%player.getMountedImage(2) $= nametoID(HatImage))
{
%player.unmountImage(2);
%client.applyBodyParts();
%client.applyBodyColors();
}
else
{
%player.unmountImage(2);
%player.mountImage(HatImage,2);
for(%i = 0;$hat[%i] !$= "";%i++)
{
%player.hideNode($hat[%i]);
%player.hideNode($accent[%i]);
%player.hideNode("headskin");
}
}
}
}
how would i change this to make this hat apply to everyone in the server, including bots?