All pastes #514291 Raw Edit

Stuff

public lua v1 · immutable
#514291 ·published 2007-05-27 17:23 UTC
rendered paste body
function GM:OnNPCKilled(npcVictim, npcKiller, npcInflictor) 	if( npcKiller:IsValid() and npcKiller:IsVehicle() and npcKiller:GetPhysicsAttacker():IsValid() and npcKiller:GetPhysicsAttacker():IsPlayer() ) then 		npcKiller:GetPhysicsAttacker():AddFrags(1) 	elseif( npcKiller:IsPlayer() )		npcKiller:AddFrags(1) 	end end