Garry's Mod Wiki

cleanup.ReplaceEntity

  boolean cleanup.ReplaceEntity( Entity from, Entity to )

Description

Replaces one entity in the cleanup module with another

Arguments

1 Entity from
Old entity
2 Entity to
New entity

Returns

1 boolean
Whether any action was taken.