native HamHook:RegisterHam(Ham:function, const EntityClass, const Callback, Post=0, bool:specialbot = false);
The function to hook.
The entity classname to hook.
The forward to call.
Whether or not to forward this in post.
Whether or not to enable support for bot without "player" classname.
Hooks the virtual table for the specified entity class. An example would be: RegisterHam(Ham_TakeDamage, "player", "player_hurt"); Look at the Ham enum for parameter lists.
Returns a handle to the forward. Use EnableHamForward/DisableHamForward to toggle the forward on or off.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.