Forum

> > CS2D > Scripts > Strip a weapon by an other weapon.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Strip a weapon by an other weapon.

2 replies
To the start Previous 1 Next To the start

old Strip a weapon by an other weapon.

minos
User Off Offline

Quote
Hello guys i have searched a lot about how to hit a player with a weapon to strip his weapon.
I have used this but it didn't work:
Spoiler >

I hope someone fixed it please !
thank you for reading.

old Re: Strip a weapon by an other weapon.

Cebra
User Off Offline

Quote
1
2
3
4
5
6
7
8
function hit_hook(id,attacker,weapon,damage)
	if weapon == 78 then
		if player(id,"weapon") == 41 then     
			parse("strip "..id.." "..player(id,"weapon"))
			return 1
		end
	end
end
untested

you have missed a space between id and player in the parse
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview