new g_maxplayers public plugin_init() { g_maxplayers = get_maxplayers() } function( victim, attacker ) { if( 1 <= attacker <= g_maxplayers ) { // attacker is a player } }