451
Add-Ons / Re: Client-Side Auto Wrench v2
« on: June 08, 2009, 04:57:37 PM »
Yay :D
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.
you mean set it to toggle ctrl-p?Yes what command does that binding use?
No, you don't need to name it something specific, name it whatever and then in the Image state you want the animation to play put:Ty now to the end with my stuffty non animated weapons.Code: [Select]stateSequence[#] = "Animationname";
Woops my copy and paste screwd that up.Code: [Select]!%col.colliding(0 makes no sense. You'd have to use another parenthesees and it wouldn't make much sense if it was false.function DecollisionerProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)
{
if(%col.getClassName() $= "fxDTSBrick")
{
if(getTrustLevel(%client,%col) == 2 || %Client.isSuperAdmin)
{
if(%col.colliding)
{
%col.setColliding(0);
commandToClient(%client,'CenterPrint',"This brick does not have collison.",3);
}
else
{
%col.setColliding(1);
commandToClient(%client,'CenterPrint',"<color:33ff33>This Brick has collison.",3);
}
}
else
{
commandToClient(%client,'centerprint',%Col.getGroup().name SPC "does not trust you enough to do that.",3);
}
}
else
{
commandToClient(%client,'centerprint',"For this to work you must use it on a brick.",3);
}
}
function DecollisionerProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)
{
if(%col.getClassName() $= "fxDTSBrick")
{
if(getTrustLevel(%client,%col) == 2 || %Client.isSuperAdmin)
{
if(!%col.Colliding(0)
{
%col.setColliding(0);
commandToClient(%client,'CenterPrint',"This brick does not have collison.",3);
}
else
{
%col.setColliding(1);
commandToClient(%client,'CenterPrint',"<color:33ff33>This Brick has collison.",3);
}
}
else
{
commandToClient(%client,'centerprint',%Col.getGroup().name SPC "does not trust you enough to do that.",3);
}
}
else
{
commandToClient(%client,'centerprint',"For this to work you must use it on a brick.",3);
}
}