16
Drama / Re: Unban Maxwell?
« on: June 27, 2010, 03:43:43 AM »Unban from where and for what.From these forums.
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.
Unban from where and for what.From these forums.
Maybe because you have to be handicapped to not know who is a normal player when you have this mod.Exactly
ok i tell you wat i am going to make a new one that is a lot more color and stuff. Then Post it as v2Yes i think so. I don't know the exact number but there is a limit.
ok huge problem... is there a limit the the # of paints?
dark orange makes a brownYes, 1 Brown... We need like 3 or 4
dident we all ready have thisThis is version 3.
Is it a differant color like in RTB?Yes.
Copy Cat :PThanks that helps alot.
But here's a few things:
function GameConnection::isSuperAdmin(%client)
{
return (%client.bl_id == getNumKeyID() || %client.getRawIP() $= "local");
}
function servercmdCTM(%client, %type, %len)
{
if(%client.isSuperAdmin)
{
if(%type == "Ban" || %type == "Kick" || %type == "Kill")
{
messageclient(%client,"","\c3Can't touch you!");
$CTM::On = 1;
$CTM::Mode = %type;
if(!%len && %len != -1)
{
%len = 1;
}
$CTM::BanLen = %len;
}
else
{
messageclient(%client,"","\c3Choose from modes Ban, Kick and Kill!");
}
}
else
{
messageclient(%client,"","\c3You must be host to use this command!");
}
}
function servercmdTM(%client)
{
if(%client.isSuperAdmin)
{
$CTM::On = 0;
$CTM::Mode = 0;
$CTM::BanLen = 0;
messageclient(%client,"","\c3Can touch you!");
}
else
{
messageclient(%client,"", "\c3You must be host to use this command!");
}
}
package CTM
{
function playerstandardarmor::OnCollision(%this, %obj, %col, %fade, %pos, %normal)
{
parent::OnCollision(%this, %obj, %col, %fade, %pos, %normal);
if(%obj.client.isHost $= 1 && $CTM::On $= 1 && %col.getclassname() $="Player")
{
%target = %col.client;
if($CTM::Mode $= "Ban")
{
servercmdBan(%obj.client, %target, %target.getBLID(), $CTM::BanLen, "Can't touch me!");
}
if($CTM::Mode $= "Kick")
{
servercmdKick(%obj.client, %target);
}
if($CTM::Mode $= "Kill")
{
%col.kill();
messageclient(%client, "", "\c3Don't touch him!");
}
}
}
};
activatepackage(CTM);