Hooking bots hurt
Does any one a way to hook if a bot is hurt.
Ham dosent work so is there another way more efficient then this PHP Code:
|
Re: Hooking bots hurt
Ham_TakeDamage works fine with bots.
|
Re: Hooking bots hurt
Quote:
No it dosent ive tested a milion times in multiple ways... If the damage is doen to the bot it doesnt register. |
Re: Hooking bots hurt
I've just tried with only bots, and the forward is called. There are reasons to not work, a bot is also a "player".
|
Re: Hooking bots hurt
Quote:
then do this set damage to 0 and shoot a bot. bot still gets hurt. |
Re: Hooking bots hurt
Just tried to supercede the forward, and bots are not hurt... It works fine.
|
Re: Hooking bots hurt
Quote:
.....what the hell... mine didnt work using this code. PHP Code:
|
Re: Hooking bots hurt
what kind of bot? you can try RegisterHamFromEntity when the bot is put in server to fix your issue.
|
Re: Hooking bots hurt
Quote:
conor tried that still didnt work czbots only bots i use Untill some one can show me how they get czbots working i have to use this PHP Code:
|
Re: Hooking bots hurt
1 Attachment(s)
Here is my code if you figure out ill love you.
The part where its giving the health to the bots its a test to see if they are getting there hp... Which they are not. |
| All times are GMT -4. The time now is 17:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.