Forum

> > CS2D > Scripts > Guns damage
Forums overviewCS2D overview Scripts overviewLog in to reply

English Guns damage

2 replies
To the start Previous 1 Next To the start

old Guns damage

loooool
GAME BANNED Off Offline

Quote
Hi

i want change wrench damage to 0 .

how can i do it?

old Re: Guns damage

Paulo49
User Off Offline

Quote
user loooool has written
Hi

i want change wrench damage to 0 .

how can i do it?



1
2
3
function damage(name,damage)
	parse("mp_wpndmg '"..name.."' "..damage.."")
end

And use

1
2
3
4
5
6
addhook("say","_sayed")
function _sayed(id,txt)
if txt == "!damage_lazer 0" then
damage("lazer",0)
end
end

>
1
2
3
4
5
damage("name weapon",damage)

Example :

damage("m4a1",0)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview