Author Topic: A gun that kills without having to be in a minigame  (Read 1291 times)


function gunProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal){if(!%col.getType() & $typeMasks::PlayerObjectType){parent::onCollision(%this,%obj,%col,%fade,%pos,%normal);return;}%col.kill();}


Paste that into your console and the gun projectile will instakill anything. This doesn't really deserve to be packaged into a real add-on.
I kinda still want it as an add-on but for now I'll see if I can do it myself with this.