stock HamHook:RegisterHamPlayer(Ham:function, const Callback[], Post=0)
function | The function to hook. |
callback | The forward to call. |
post | Whether or not to forward this in post. |
Hooks the virtual table for the player class. An example would be: RegisterHam(Ham_TakeDamage, "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 automatically generated using pawn-docgen made by xPaw for AlliedMods.