Garry's Mod Wiki

cleanup.Add

  cleanup.Add( Player pl, string type, Entity ent )

Description

Adds an entity to a player's cleanup list.

Arguments

1 Player pl
Who's cleanup list to add the entity to.
2 string type
The type of cleanup.
3 Entity ent
The entity to add to the player's cleanup list.