Hey guys. I coded a plugin for my gamemode. It replaces NWVars.
It is for GMod 13 only though.
nwvars.lua ( server side): http://pastebin.com/6bXDm0HA
cl_nwvars.lua (client - side): http://pastebin.com/HDsiYdni
Feel free to use it in any script but give me credits.
Credits to people who helped me:
Divran - pointing out mistakes and suggesting solutions, not being an ass
MadDog - a good suggestion which I’m working on
Note: Both files have to be loaded first (right after the init/cl_init) or there must be no nwvars set before the files have loaded. Else the set nwvars will break.
If you are seeing no point in this, get out instead of rating me boxes and being** a pure idiot.**