Re: Hooking bots hurt
Quote:
On your quote he is not registering ham, he is registering a forward with fakemeta. |
Re: Hooking bots hurt
Quote:
And We are talking about this: Quote:
PHP Code:
|
Re: Hooking bots hurt
Back in 2009 threads didn’t have solved/unsolved feature.
I can’t be 100% sure because i never used bots in my life but that’s how you register takedamage from an entity (taking damage from a npc for example). So it probably also works with bots. |
Re: Hooking bots hurt
Quote:
This means the 'id' he is passing is always from a human player. You need to register ham for bots with a bot id for it to work. - |
Re: Hooking bots hurt
Since he uses bot id he is not passing a real player id. The only thing that could happen would be the code not work if updateclientdata ignores bots.
Code:
void UpdateClientData(const struct edict_s *ent, int sendweapons, struct clientdata_s *cd)I don’t have the opportunity to test it today, maybe you can. |
Re: Hooking bots hurt
Quote:
PHP Code:
|
Re: Hooking bots hurt
Well if it doesn’t it ain’t a problem. Just register ham from entity on bot connection. Problem solved.
But are you sure it is not called for bots? |
Re: Hooking bots hurt
Quote:
|
| All times are GMT -4. The time now is 02:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.