Revision Difference
Entity:InitializeAsClientEntity#526910
<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 to the lack of clientside <page>ents.Create</page>.
This function is automatically called by <page>ents.CreateClientProp</page> and <page>Global.ClientsideModel</page>, <page>Global.ClientsideModel</page> and <page>Global.ClientsideScene</page>.
This function is automatically called by <page>ents.CreateClientProp</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>