kill team ?

is there a hook?, like if kill TEAM_PUPPY then i will die myself?

THX ALOT IF U ANSWER!

**[Player.Team

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Player.Team)**

**[Player.Kill

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Player.Kill)**

I think thats what you mean but its kinda hard to understand you

i mean if im getting killed as team_puppy it will play a sound or something

Say it in English, I cant understand what you are trying to say.

Like this?

[lua]
hook.Add( “PlayerDeath”, “1”, function( victim, inflictor, killer )
if ( victim:Team( ) ~= TEAM_PUPPY ) then return end

killer:Kill( )

end )
[/lua]

yes! Thanks