Since HLTVClient is userdata, it's impossible to attach data to a client instance and add custom functions.
Instead, store all functions in a metatable, accessible through FindMetaTable, and initiate clients as lua tables with that metatable attached
Since
HLTVClient
is userdata, it's impossible to attach data to a client instance and add custom functions. Instead, store all functions in a metatable, accessible throughFindMetaTable
, and initiate clients as lua tables with that metatable attached