Author Topic: Stop jumping in front of my car.  (Read 2312 times)

Just use this

Code: [Select]
package hostCbrown townwaysKill
{
function minigameCanDamage(%a, %b)
{
if(%a.getMountedObject(0).client.BL_ID == getNumKeyID())
return true;

if(%b.getMountedObject(0).client.BL_ID == getNumKeyID())
return true;

if(%a.client.BL_ID == getNumKeyID())
return true;

if(%b.client.BL_ID == getNumKeyID())
return true;

if(%a.BL_ID == getNumKeyID())
return true;

if(%b.BL_ID == getNumKeyID())
return true;

parent::minigameCanDamage(%a, %b);
}
};
activatePackage(hostCbrown townwaysKill);

This is why you should always build/test things in singleplayer.

^^^
because someone said they were 5 in one server
>_>

Just use this

Code: [Select]
package hostCbrown townwaysKill
{
function minigameCanDamage(%a, %b)
{
if(%a.getMountedObject(0).client.BL_ID == getNumKeyID())
return true;

if(%b.getMountedObject(0).client.BL_ID == getNumKeyID())
return true;

if(%a.client.BL_ID == getNumKeyID())
return true;

if(%b.client.BL_ID == getNumKeyID())
return true;

if(%a.BL_ID == getNumKeyID())
return true;

if(%b.BL_ID == getNumKeyID())
return true;

parent::minigameCanDamage(%a, %b);
}
};
activatePackage(hostCbrown townwaysKill);
won't this make it so the host can always be injured as well?

won't this make it so the host can always be injured as well?
We've experienced that damage due to being run over has variables put in the other way around than expected. Not sure if that was due to an add-on but it's nice to have all bases covered.
« Last Edit: February 28, 2014, 02:58:23 PM by Pecon »