I'm not familiar either, but in this case, the use of ham looks like fakemeta.
Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
new g_max_clients
public plugin_init()
{
register_plugin( "No Weapons Damage" , "0.1" , "connor" )
RegisterHam( Ham_TakeDamage , "player" , "player_TakeDamage" )
}
public plugin_cfg()
{
g_max_clients = global_get( glb_maxClients )
}
public player_TakeDamage( this , idinflictor , idattacker , Float:damage , damagebits )
{
if( 1 <= idattacker <= g_max_clients )
return HAM_SUPERCEDE
return HAM_IGNORED
}