Vice City Multiplayer
		VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Juppi on September 06, 2007, 09:23:22 pm
		
			
			- 
				I was making an anti-db system, which warns/kicks player after a driveby. I still need to know how to protect from a teamkill. Does a team-driveby (or other teamkill events) have different ID than usual driveby (which is 42), or even an own signal, like SIGNAL:vcmp.teamkill?
			
 
			
			- 
				Ah, i got it fixed myself. Just created a new signal under alias vcmp.data:
alias vcmp.data {
  if ($1 == [teamkill]) {
    .signal vcmp.teamkill $5 $vcmp.getdeathinfo($4).name $vcmp.getdeathinfo($2).name
 }
}
(if alias getdeathinfo is defined as in gus). Then warning script under event
on *:SIGNAL:vcmp.teamkill:{