Sorry use this one..
on *:SIGNAL:vcmp.event.kill:{
var %namek = $strip($vcmp.nickcolor($1)), %named = $strip($vcmp.nickcolor($3)), %idk = $vcmp.nameid(%namek), %idd = $vcmp.nameid(%named), %spawnkill = $vcmp.config.checkforspawnkill(%idd,%idk)
if ($vcmp.deathreason($4) == Drive-By) {
vcmp.adminchat ** Auto - Kick Player: $+ $chr(91) $vcmp.hgetname(%idk) $chr(93) Reason: $+ $chr(91) Driver - By $chr(93)
vcmp.kick2 %idk
}
vcmp.validweapon %idk $4
vcmp.killingspree.process %idk %idd
if ($vcmp.acct.exists(%namek) != 0) { vcmp.addkill %namek | vcmp.addweaponstat %namek $4 }
if ($vcmp.acct.exists(%named) != 0) vcmp.addkilled %named
ifvcmp.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
vcmp.cash+ %killer $vcmp.reward(%killer)
}
(%echolevel > 1) vcmp.echo 04*** $vcmp.sajatnickcolor($1) 04killed
$vcmp.sajatnickcolor($3) 4 $par($vcmp.deathreason($4))
if (($vcmp.isplayerspawned(%idk)) && (%spawnkill != $null)) vcmp.cmd.killplayer %idk Spawnkilling.
.signal vcmp.event.handledeath %idd
}
I hope it will help you now..
Thanks
Punjabi_goli