So after some hours I finally managed to complete this thing. It's really as simple as the title states, it allows the players in the demo to no longer have floating heads, or the silly skeletons, but rather proper clothing relevant to either their job, or if a civilian, simply a randomly colored sweater. Bare in mind this isn't a perfect solution, so please don't yell at me for bad coding (I know next to nothing about lua), nor can I ensure that it will work 100% of the time (source engine xd), but after testing through 3-4 demos, I have found it to work quite consistently. If you find any errors or things missing please do tell me!
I implemented it with a bit of the normal "ESP" that you can get from the forums here, but altered it a bit.
This is what I mean by what you should see, instead of floating heads
Simply copy and paste the code from >> here << save it as a file with the extension ".lua" and drop it into this folder
then load up a demo, make sure sv_cheats and sv_allowcslua are both set to 1 and then do "lua_openscript_cl <filename>" and voila, everything should be working!
edit; fixed mayor clothing and some stuff xd
fixed issues when having obnoxiously long steam names @dog
I implemented it with a bit of the normal "ESP" that you can get from the forums here, but altered it a bit.
This is what I mean by what you should see, instead of floating heads
Simply copy and paste the code from >> here << save it as a file with the extension ".lua" and drop it into this folder
then load up a demo, make sure sv_cheats and sv_allowcslua are both set to 1 and then do "lua_openscript_cl <filename>" and voila, everything should be working!
edit; fixed mayor clothing and some stuff xd
fixed issues when having obnoxiously long steam names @dog
Last edited: