1
mIRC/pawn Scripting / Re: Bank Killing
« on: September 16, 2008, 12:53:58 am »
Doesn't matter... anyway the subject is generic.... were not a specific subject about WSV...
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.
if ((%victim != Unknown) && (%killer != Unknown)) {
vcmp.msg %killer Killed - Victim: $vcmp.name(%victim) $+ , Weapon: $vcmp.weapon.name(%weapon) $+ , Reward: $ $+ $bytes($vcmp.reward(%killer),b) $+ , Range: $vcmp.distince.rate($vcmp.distince(%killer,%victim)) $+ ( $+ $vcmp.distince(%killer,%victim) Meters) $+ , Location: $vcmp.area(%victim)
vcmp.add.kills %killer 1
if (( $vcmp.area($2) == Bank ) && ( $vcmp.area($3) == Bank ) ) {
vcmp.say $vcmp.warn( %killer, Auto-Admin, Killing in the bank )
vcmp.cash+ %victim $vcmp.reward(%victim)
} else {
vcmp.cash+ %killer $vcmp.reward(%killer)
}
}