Quote:
Originally Posted by FoxMulder
Thanks man, in your example please update:
public OnTakeDamage(...) -> public Action:OnTakeDamage(...)
|
Yeah I saw that, will fix it in a bit too. And yes, DukeHacks uses the same defines, but I didn't think it would be a problem as long as you don't both include sdkhooks.inc and dukehacks.inc in one script.
Quote:
Also can I hook enities other than clients like:
SDKHook(entity, SDKHook_OnTakeDamage, OnTakeDamage);
|
Yes, I know I kind of poorly named the entity index "victim", implying it only works for clients, but OnTakeDamage works for all entities.
Quote:
Originally Posted by Someone78
please add Weapon_CanUse
|
Is there anything Weapon_CanUse does that one of the other weapon hooks can't do already? You can already block people from equipping a weapon with Weapon_Equip, and block them from switching to it with Weapon_Switch.
Quote:
Originally Posted by CrimsonGT
*Sticked the thread
|
Love you long time
Edit: SetTransmit should be fixed now
__________________