Hat system with auto-upload 
12 comments Hello people.
This is a hat system I made using some of steam and IO functions from BlazingNote and Starkkz.
Its functioning is very simple. Once you installed and loaded it to your server, it will create a new servertransfer file, containing the address of all images from "gfx/hats", and then, reload the server again with the new hats list.
No configuration nor commands nedded, just install and put your files in hats folder.
You can access the hats through serveraction, in this case, serveraction3 (F4). The menu is infinite, and you can add many hats as you want. Beware, this would lead to lags if there are so many hats, and any file that exceeds 250kb wouldn't even be downloaded (CS2D has this set to default)
I'm pretty sure there are alots of hat systems in this file archive. So, if I'm posting an useless script, just let me know it and I will delete this file. Thanks for your appreciation.
This is a hat system I made using some of steam and IO functions from BlazingNote and Starkkz.
Its functioning is very simple. Once you installed and loaded it to your server, it will create a new servertransfer file, containing the address of all images from "gfx/hats", and then, reload the server again with the new hats list.
No configuration nor commands nedded, just install and put your files in hats folder.
You can access the hats through serveraction, in this case, serveraction3 (F4). The menu is infinite, and you can add many hats as you want. Beware, this would lead to lags if there are so many hats, and any file that exceeds 250kb wouldn't even be downloaded (CS2D has this set to default)
I'm pretty sure there are alots of hat systems in this file archive. So, if I'm posting an useless script, just let me know it and I will delete this file. Thanks for your appreciation.

Comments
12 comments



Log in!
You need to log in to be able to write comments!Log in

Nice work.
You should have it add new hats to the servertransfer file instead of overwriting it.
Also, this only works on windows
You should have it add new hats to the servertransfer file instead of overwriting it.
Also, this only works on windows
Code:
1
os.execute('dir /b /a:-d "'..dir..'" > tmp')

Best hat lua i have found so far but you could actually say its GOING TO REPLACE THE SERVERTRANSFER, i had to do my Servertransfer ALL OVER AGAIN



click the me post, have language inglish.
http://unrealsoftware.de/files_show.php?file=14126



