Hit Return 1
6 replies



21.07.17 11:43:50 pm
This code not working ?
Code:
1
2
3
4
2
3
4
addhook("hit","HIT")
function HIT(id,source)
return 1
end
function HIT(id,source)
return 1
end
Is there any
hit hook else? If so, remove that. Or for the last chance use this:

Code:
1
2
3
4
2
3
4
addhook("hit","_hit")
function _hit(id,source)
return 1
end
function _hit(id,source)
return 1
end
Shit your pants:
Outlast II Mod (29) | Create your UI faster: CS2D UI Framework


Answer my question please

Shit your pants:
Outlast II Mod (29) | Create your UI faster: CS2D UI Framework


@
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)
Thank you @
Hajt: this working





