Garry's Mod Wiki
Description
Returns the entity with the matching Entity:EntIndex.
Indices 1
through game.MaxPlayers() are always reserved for players.
In examples on this wiki,
Entity( 1 )
is used when a player entity is needed (see ). In singleplayer and listen servers, Entity( 1 )
will always be the first player. In dedicated servers, however, Entity( 1 )
won't always be a valid player if there is no one currently on the server.Arguments
Returns
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 twice a day. Edits and history are not available.
Last Parsed: Loading...