Revision Difference
Entity:SetPhysicsAttacker#526382
<function name="SetPhysicsAttacker" parent="Entity" type="classfunc">
<description>
Sets the player who gets credit if this entity kills something with physics damage within the time limit.
<note>This can only be called on props.</note>
<note>This can only be called on props, "anim" type SENTs and vehicles.</note>
</description>
<realm>Server</realm>
<args>
<arg name="ent" type="Player">Player who gets the kills. Setting this to a non-player entity will not work.</arg>
<arg name="timeLimit" type="number" default="5">Time in seconds until the entity forgets its physics attacker and prevents it from getting the kill credit.</arg>
</args>
</function>