undo.ReplaceEntity
From GMod Wiki
| Function | |
| Syntax | undo.ReplaceEntity( Entity  from, Entity  to ) Where is this used? | 
| Description: | |
| Replaces any instance of the "from" reference with the "to" reference. Returns true if something was replaced. | |
| Returns: | Boolean | 
| Part of Library: | Undo | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Undo.ReplaceEntity]Undo.ReplaceEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
 
			
			