HolyLib Wiki

HolyLib:PostEntityConstructor

  HolyLib:PostEntityConstructor( Entity ent, string className )

Description

Called before CBaseEntity::PostConstructor is called.
This should allow you to set the EFL_SERVER_ONLY flag properly allowing you to create serverside-only entities.

Arguments

1Entity ent
The Entity that is being created
2string className
The className of the Entity