RegisterHamBots
Hooks the virtual table for CZ Bots entity class. An example would be: RegisterHamBots(Ham_TakeDamage, "player_hurt"); Look at the Ham enum for parameter lists.
Syntax
native RegisterHamBots(Ham:function, const Callback[], Post=0)
Usage
| function | The function to hook. |
| Callback | — |
| Post | — |
Return
Returns — a handle to the forward. Use EnableHamForwardBots/DisableHamForwardBots to toggle the forward on or off.
Defined in
cs_ham_bots_api.inc
at line 25
.
This documentation was automatically generated from source.