Files

> > CS2D > Lua Scripts > Hat system with auto-upload
Files overviewCS2D overviewLua Scripts overview

English Hat system with auto-upload >

12 comments3 kb, 669 Downloads

old Hat system with auto-upload

mozilla1
User Off Offline

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.
Approved by Seekay

Download Download

3 kb, 669 Downloads

Comments

12 comments
To the start Previous 1 Next To the start

Log in!

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

old

Vehk
User Off Offline

Nice work.

You should have it add new hats to the servertransfer file instead of overwriting it.

Also, this only works on windows
1
os.execute('dir /b /a:-d "'..dir..'" > tmp')
I like it!

old

lighthem
User Off Offline

easy script, nice work!
I like it!

old

Headshot101
User Off Offline

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
I like it!

old

mozilla1
User Off Offline

@user Pro Gaming cs16:

Only the image is in portuguese, the script is submited in english...

old

Gajos
BANNED Off Offline

Nice idea but the script have too many not useful functions.
I like it!

old

Avo
User Off Offline

Description has written
I'm pretty sure there are alots of hat systems in this file archive.
That's true. But I like you added a new feature - auto-upload. Not the best, but very easy and good idea.


I'm giving a like for an ecouragement. Nice mix of some scripts from the file archive.
I like it!

old

TopNotch
User Off Offline

That's new, good job.
I like it!
To the start Previous 1 Next To the start