For some reason, I'm not able to get a hooked function called by registering it with hamsandwich. This *only* applies to the "func_healthcharger" and "func_recharge" entities.
PHP Code:
RegisterHam( Ham_Use, "func_healthcharger", "FwdHamChargerUse" );
RegisterHam( Ham_Use, "func_recharge", "FwdHamChargerUse" );
public FwdHamChargerUse( const iEntity, const iCaller ) {
server_print("Unfortunately, this message will never display...");
return HAM_IGNORED;
}
To double-check the issue wasn't in my code, I tried running xPaw's Inifite Rechargers (
https://forums.alliedmods.net/showthread.php?t=120140), and even that isn't working for me. Has something changed with "func_healthcharger" and "func_recharge"? Could I possibly be missing something?
__________________