Skip to content

A faster and more performance version of the Garry's Mod net library with additional cool features.

License

Notifications You must be signed in to change notification settings

unknown-gd/improved-network-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Improved Network Library

A faster and more performance version of the Garry's Mod net library with additional cool features.

Basic Changes

  • GM:IncomingNetworkMessage( string networkString, number length, Player/NULL ply ) - if return here false then callbacks will not be called. [SERVER/CLIENT]
  • net.Receive - has an additional third optional argument string "identifier" used for multiple receive callbacks. [SERVER/CLIENT]
  • net.Start - automatically creates network strings on the server without using util.AddNetworkString. [SERVER]
  • net.StartX - default net.Start. [SERVER]

Where is Lua code?

Written in Yuescript, compiled Lua code can be found in releases and lua branch, or you can compile it yourself using compiled Yuescript Compiler.