Garry's Mod Wiki

Garry's Mod Wiki

  Tool:MakeGhostEntity( string model, Vector pos, Angle angle )

Description

Initializes the ghost entity with the given model. Removes any old ghost entity if called multiple times.

The ghost is a regular prop_physics entity in singleplayer games, and a clientside prop in multiplayer games.

Arguments

1 string model
The model of the new ghost entity
2 Vector pos
Position to initialize the ghost entity at, usually not needed since this is updated in Tool:UpdateGhostEntity.
3 Angle angle
Angle to initialize the ghost entity at, usually not needed since this is updated in Tool:UpdateGhostEntity.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...