Forum

> > CS2D > Scripts > Custom Armor Picture
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Custom Armor Picture

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Custom Armor Picture

r4ndxm
User Off Offline

Zitieren
I am creating a personalized armor, i finished the code that will decrease the damage by 50% (50% = 0.50)
I was able to modify the damage of the players but how do i put an image to make it look like an armor?

1
2
3
4
5
6
if (player(id,"health")<=(rawdmg*0.50)) then
	parse("customkill "..source.." "..itemtype(weapon,"name").." "..id)
else
	parse ("sethealth "..id.." "..player(id,"health")-(rawdmg*0.50))
	return 1
end
1× editiert, zuletzt 16.01.14 11:04:18
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht