Garry's Mod Wiki

Revision Difference

cleanup.Add#518213

<function name="Add" parent="cleanup" type="libraryfunc"> <description>Adds an entity to a player's cleanup list.</description> <realm>Server</realm> <file line="59">lua/includes/modules/cleanup.lua</file> <args> <arg name="pl" type="Player">Who&#x27;s cleanup list to add the entity to.</arg> <arg name="pl" type="Player">Who's cleanup list to add the entity to.</arg> <arg name="type" type="string">The type of cleanup.</arg> <arg name="ent" type="Entity">The entity to add to the player&#x27;s cleanup list.</arg> <arg name="ent" type="Entity">The entity to add to the player's cleanup list.</arg> </args> </function>