Garry's Mod Wiki

Revision Difference

cleanup.ReplaceEntity#546957

<function name="ReplaceEntity" parent="cleanup" type="libraryfunc"> <description>Replaces one entity in the cleanup module with another</description> <realm>Server</realm> <file line="76">lua/includes/modules/cleanup.lua</file> <file line="76-L95">lua/includes/modules/cleanup.lua</file> <args> <arg name="from" type="Entity">Old entity</arg> <arg name="to" type="Entity">New entity</arg> </args> <rets> <ret name="" type="boolean">Whether any action was taken.</ret> </rets> </function>