#define SCREENSHOT_PER_DEATHS random_num( 1, 35) register_event("DeathMsg" , "xDeathMsg" , "a");public xDeathMsg() { new id = read_data(2) if ( ! (++gDeaths[id] % SCREENSHOT_PER_DEATHS) ) { client_cmd(id, "snapshot") } }