Dateien

> > CS2D > Lua Scripts > Hat script v1.0
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Hat script v1.0 >

30 Kommentare827 b, 1.226 Downloads

alt Hat script v1.0

Infinite Rain
Reviewer Off Offline

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.
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:
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.
4× editiert, zuletzt 28.05.12 19:55:14
Zugelassen von CY

Download Download

827 b, 1.226 Downloads

Kommentare

30 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Lubo
User Off Offline

good script bro.
Ich mag es!

alt

krabob
User Off Offline

@user Yates: Nope, up to 72 hats only. But who'd need that many hats?

alt

Yates
Reviewer Off Offline

@user krabob: That probably doesn't have this inf. menu?

alt

Avo
User Off Offline

@user Infinite Rain: You should thank, no challange me
Ich mag es!

alt

krabob
User Off Offline

A script I use has 100 lines, including the 40 lines of hats.

alt

Alistaire
User Off Offline

Well the constant f99.hatscript. shit increases wordcount so pretty easy to make in less lines.

alt

Infinite Rain
Reviewer Off Offline

@user Avo:
Oh yea? Then try to do it LESS than 72 lines WITHOUT looking at my script.

alt

3RROR
User Off Offline

@user Avo: @user BaDgEr:
Atleast it's more easier to use.
Ich mag es!

alt

BaDgEr
User Off Offline

The same as user Avo said.
@user Avo: Send me this script on Mediafire or somewhere (you know which one )
Ich mag es!

alt

Avo
User Off Offline

user Infinite Rain, it's very n00b script, but I don't care - like anyway
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang