English Hat script v1.0 icon

29 comments
28.05.12 07:50:04 pm
like 13 like it!
827 b, 652 Downloads
Communism
Reviewer
Offline Off
Title say it all.

The other versions around here are stolen/noobish

I made the version in which you can easily add or delete hats.
I made this script to test a new method of scripting.

So enjoy

How to add hat:

There will be table on the 4th line.
Code:
1
2
3
4
5
6
7
f99.hatscript.hats = {
     --[[
     [1] = {name = "Hat 1", imagepath = "gfx/weiwen/farmour.png"};
     [2] = {name = "Hat 2", imagepath = "gfx/vegas/cap.png"};
     [3] = {name = "Hat 3", imagepath = "gfx/weiwen/farmour.png"};
     ]]
}


Add the hat in the table: [ID] = {name = "NAME OF THE HAT", imagepath = "PATH OF IMAGE"}

Easy lol.

Installation:
Unpack and put it in sys/lua
Then in server.lua write:
Code:
1
dofile('sys/lua/hat.lua')


This script has got 72 lines.
View script here (link)

You can do anything you want with this but leave credits to me

I know this script is kinda easy and stuff. But I have to try the new scripting method lol.
imageimageimage
edited 4×, last 28.05.12 07:55:14 pm
ok This file has been reviewed and approved by CY (04.12.15 07:49:46 am)

Comments

29 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
20.06.17 02:55:51 am
like I like it!
Up
Skyler
BANNED
Offline Off
awesome!
i like it.
18.06.17 10:10:22 am
Up
ZxC
Moderator
Offline Off
@user jay22114: Check the Console for any Lua errors highlighted in red colour. The Console tells you lots of information if a certain script fails to execute properly.
18.06.17 09:46:06 am
Up
jay22114
User
Offline Off
Nothing Happens i did all steps and nothing. just same
15.12.14 07:01:20 pm
like I like it!
Up
Black M
BANNED
Offline Off
@user Communism: Good!
12.01.13 12:58:57 pm
Up
M_
User
Offline Off
This is not "user-friendly"

Most people wont use this because it is hard..
Make it more simple.
12.01.13 12:04:22 pm
Up
Kevin916
User
Offline Off
not bad.
09.01.13 07:19:21 am
like I like it!
Up
qhalsdla
User
Offline Off
good!
21.06.12 05:28:54 pm
like I like it!
Up
Heling
User
Offline Off
nice,i like it!
21.06.12 04:22:44 pm
like I like it!
Up
killerboy1
User
Offline Off
it dont work for me.

Help pls.
01.06.12 08:42:38 pm
like I like it!
Up
Misho
User
Offline Off
Useful, yeah.
01.06.12 08:09:20 pm
like I like it!
Up
ImSoFuckingRetarded
BANNED
Offline Off
Thx man
U are the more good
29.05.12 11:55:22 am
like I like it!
Up
Thailand PlayerS
User
Offline Off
@user Communism:
NICE Scripts
29.05.12 06:17:52 am
Up
Communism
Reviewer
Offline Off
Connexion:
Facepalm.
28.05.12 11:49:46 pm
like I like it!
Up
ImSoFuckingRetarded
BANNED
Offline Off
By WHAT I'm seeing is just something edited.
28.05.12 09:13:49 pm
Up
sheeL
User
Offline Off
yeah but ..
the code is different
More like what you created already exists
28.05.12 09:11:15 pm
Up
Communism
Reviewer
Offline Off
Sheel it's not equal the other scripts
read descriptions
28.05.12 09:10:12 pm
Up
sheeL
User
Offline Off
exists 500000 script equal but i like
28.05.12 08:53:28 pm
like I like it!
Up
EP
User
Offline Off
Good one Factis699, nice functions.
28.05.12 08:31:56 pm
Up
Communism
Reviewer
Offline Off
@user Alistaire:
THIS method making my script LESS lined if you will look carefully. And that't more proffesional. Because the arrays and shit can conflict to each other if you will install several of scripts in one time.
28.05.12 08:27:16 pm
like I like it!
Up
Lubo
User
Offline Off
good script bro.
To the start Previous 1 2 Next To the start