Garry's Mod Wiki

Entity:InitializeAsClientEntity

  Entity:InitializeAsClientEntity()

Description

We advise against using this. It may be changed or removed in a future update. This function got disabled and will always throw an error if it's used. This is the error:
[ERROR] InitializeAsClientEntity is deprecated and should no longer be used.

Initializes this entity as being clientside only.

Only works on entities fully created clientside, and as such it currently has no use due to this being automatically called by ents.CreateClientProp, ents.CreateClientside, ClientsideModel and ClientsideScene.