SlashCo Wiki

SlashCo.CreateHelicopter

 Entity SlashCo.CreateHelicopter( Vector pos, Angle ang )

Description

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

Arguments

1Vector pos

The position where the helicopter should be spawned.

2Angle ang

The angles the helicopter should be spawned with.

Returns

1Entity ent

The created helicopter entity, or nil if creation failed.