Datastream
From GMod Wiki
Revision as of 17:16, 30 November 2011 by RTM xBEASTx (Talk | contribs)
This element is being removed from garrysmod once the GMod Beta 13 update becomes public |
- Note: You no longer need to use require("datastream") if you want to use datastream. It's automatically included now, from garrysmod/lua/init.lua.
A method for sending data from client to server and server to client supporting multiple data types.
Supported types: table boolean number string Vector Angle Entity Player CEffectData ConVar Color Reference
Library Functions
datastream.StreamToClients
datastream.DownstreamActive
datastream.GetProgress
datastream.Hook
datastream.StreamToServer