Revision Difference
Entity:SetPhysicsAttacker#514512
<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>⤶
</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>⤶
⤶