SlashCo Wiki

SlashCo.CreateDocument

 Entity SlashCo.CreateDocument( Vector pos, Angle ang )

Description

Spawns a document at the specified position and angle.
Returns nil if the document entity could not be created.

Arguments

1Vector pos

The position where the document should be spawned.

2Angle ang

The angles the document should be spawned with.

Returns

1Entity ent

The created document entity, or nil if creation failed.