The Exiled
http://theexiled.pwnageservers.com/forum/

No Kill Zone
http://theexiled.pwnageservers.com/forum/viewtopic.php?f=7&t=1221
Page 1 of 1

Author:  TE-Krogoth [ Mon May 01, 2006 8:07 pm ]
Post subject:  No Kill Zone

This makes it so that people in a trigger won't get hurt, good for NZ's on duel maps.

All credit goes to Plasmatic for this code.


Code:
function NoKillZone::onEnter(%this,%player)
{
Client::sendMessage(Player::getClient(%player),0,"Welcome to town. Killing is not allowed in this area. ");
%player.shieldStrength = 99;
%player.Shielded = true;
}

function NoKillZone::onLeave(%this,%player)
{
Client::sendMessage(Player::getClient(%player),0,"You have left town. ");
%player.shieldStrength = 0;
%player.Shielded = false;
}

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/