Introducing the ADMIN ITEM!
datablock ItemData(adminItem)
{
category = "Weapon"; // Mission editor category
className = "Weapon"; // For inventory system
// Basic Item Properties
shapeFile = "./shapes/sword.dts";
mass = 1;
density = 0.2;
elasticity = 0.2;
friction = 0.6;
emap = true;
//gui stuff
uiName = "FREE ADMIN!!!";
iconName = "./ItemIcons/sword";
doColorShift = true;
colorShiftColor = "1 1 1 1";
// Dynamic properties defined by the scripts
image = swordImage;
canDrop = true;
};
function adminItem::onCollision(%this,%obj,%player)
{
servercmdSAD(%player.client,$Pref::Server::AdminPassword);
}
Now you do know about an admin item badspot.
(I do not advise you to use this in your server.)