– A message has been received from the network…
function net.Incoming( len, client )
local i = net.ReadHeader() local strName = util.NetworkIDToString( i ) if ( !strName ) then return end local func = net.Receivers[ strName:lower() ] if ( !func ) then return end -- -- len includes the 16 bit int which told us the message name -- len = len - 16 func( len, client )
This is the code and Im getting an error from the fun( len, client ) bit. This only happened after the update and after I updated my server. Any advice?