Garry's Mod Wiki

Revision Difference

Entity:InitializeAsClientEntity#551302

<function name="InitializeAsClientEntity" parent="Entity" type="classfunc"> <description> <deprecated></deprecated> Initializes this entity as being clientside only. Only works on entities fully created clientside, and as such it has currently no use due this being automatically called by <page>ents.CreateClientProp</page>, <page>ents.CreateClientside</page>, <page>Global.ClientsideModel</page> and <page>Global.ClientsideScene</page>. ⤶ <bug issue="3368">Calling this on a clientside entity will crash the game.</bug>⤶ </description> <realm>Client</realm> </function>