16
Modification Help / Brick collison
« on: May 27, 2009, 09:30:17 PM »
I'm making a decollisoner weapon and i was wondering, how do you change if the brick has a colliosn or not. Ithought it was .setcollidable = 0; or .collison = 0;
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.
registerOutputEvent(Player, "SetTag", "list NONE 1 ChatMessage 2 CenterPrint 3 BottomPrint 4\tint 1 9 3\tstring " @ $pref::server::maxChatLen / 2 SPC $pref::server::maxChatLen);
function player::setTag(%this, %arg0, %arg1, %arg2, %client)
{
if(!isObject(%this))
{
return;
}
%newInput = strReplace(%arg2, "%1", %client.clanprefix);
if(%newInput $= %arg2)
{
%newInput = %newInput @ %client.clanprefix = %newinput ;
}
%this.clanprefix(%newinput);
if(isObject(%client) && isObject(%this.client) && %this.client == %client)
{
if(%arg0 == 1)
{
centerPrint(%client, "", %arg1);
}
if(%arg0 == 2)
{
messageClient(%client, '', "\c2Your player Tag has been set to \c6'" @ %newInput @ "'");
}
if(%arg0 == 3)
{
centerPrint(%client, "\c2Your player Tag has been set to \c6'" @ %newInput @ "'", %arg1);
}
if(%arg0 == 4)
{
bottomPrint(%client, "\c2Your player Tag has been set to \c6'" @ %newInput @ "'", %arg1);
}
}
}
