Forum

> > CS2D > Scripts > Hit Return 1
Forums overviewCS2D overview Scripts overviewLog in to reply

English Hit Return 1

6 replies
To the start Previous 1 Next To the start

old Hit Return 1

TheVillager
User Off Offline

Quote
This code not working ?
1
2
3
4
addhook("hit","HIT")
function HIT(id,source)
 return 1
end

old Re: Hit Return 1

Masea
Super User Off Offline

Quote
Is there any cs2d lua hook hit hook else? If so, remove that. Or for the last chance use this:
1
2
3
4
addhook("hit","_hit")
function _hit(id,source)
 return 1
end

old Re: Hit Return 1

Hajt
User Off Offline

Quote
@user TheVillager: Your script should work but I bet you are using another script which also uses hit hook that's why it doesn't work. Try to add priority.

addhook("hit","HIT",999)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview