Entity/InitializeAsClientEntity

From Garry's Mod
Jump to: navigation, search
 Entity:InitializeAsClientEntity( )

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

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 ents.Create.

This function is automatically called by ents.CreateClientProp and ClientsideModel, ClientsideModel and ClientsideScene.

BUG

Calling this on a clientside entity will crash the game.

Issue Tracker: #3368

Personal tools
Navigation