ents.Create
Description
Creates an entity. This function will fail and return NULL
if the networked-edict limit is hit (around 8176), or the provided entity class doesn't exist.
Do not use before GM:InitPostEntity has been called, otherwise the server will crash!
If you need to perform entity creation when the game starts, create a hook for GM:InitPostEntity and do it there.
Arguments
Returns
Example
Creates a gmod_button entity at Vector(0, 0, 0)
.
Example
Make the Half Life Jeep appear where the player is looking