Forum

> > CS2D > Scripts > Custom Armor Picture
Forums overviewCS2D overview Scripts overviewLog in to reply

English Custom Armor Picture

1 reply
To the start Previous 1 Next To the start

old Custom Armor Picture

r4ndxm
User Off Offline

Quote
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
edited 1×, last 16.01.14 11:04:18 am
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview