Forum

> > CS2D > General > Hats with kills
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Hats with kills

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Hats with kills

Jabama
User Off Offline

Zitieren
Hello, Does anyone have a script which when you get enough kills you can choose a hat. So like, 5 kills=pirate hat, 10 kills=another one..

alt Re: Hats with kills

Yates
Reviewer Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
11
12
hat = {}

addhook("join","_join")
function _join(id)
	hat[id]=0
end

-- Copy/Paste this to where you want it to check whether they have enough score or not.
if player(id,"score") == [amount] then
	freeimage(hat[id])
	hat[id] = image("[imagelocation]",1,1,200+id)
end

Apply to where ever you want.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht