Garry's Mod Wiki

net.WriteEntity

  net.WriteEntity( Entity entity )

Description

Appends an entity to the current net message using its Entity:EntIndex.

See net.ReadEntity for the function to read the entity.

Arguments

1 Entity entity
The entity to be sent.