Garry's Mod Wiki
Description
A helper function to allow setting Network Variables via Entity:Fire, primarily to allow mappers to set them from Hammer via Map I/O logic.
Meant to be called from ENTITY:AcceptInput, see example.
See also Entity:SetNetworkKeyValue for a function that does similar thing, but for entity key-values in Hammer instead.
Arguments
Returns
Example
Example usage, adding this will allow mappers to set all your networks vars using Map I/O inputs. You will also need to provide manually crafted .fgd file that lists all the key values. env_skypaint can be used as an example (garrysmod.fgd and env_skypaint.lua in base gamemode).
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...