Garry's Mod Wiki

Garry's Mod Wiki

  GM:NetworkEntityCreated( Entity ent )

Description

Called when an entity has been created over the network.

Arguments

1 Entity ent
Created entity

Example

Prints newly created/networked entitys to the players chat.

hook.Add("NetworkEntityCreated", "InformPlayerOnEntityCreation", function(ent) chat.AddText("A entity was created/networked: " .. tostring(ent) .. " (" .. ent:GetClass() .. ")") end)

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...