nice learned something again.
btw it works!

there is a reason I would like to use this for (id) I didn't state.
I thought this would be impossible because of the global event but I only need the global event to determan wether or not a clanmatch has started.
is there a way to do something on per player (id) when the clanmatch has started?
for example:
this
PHP Code:
gDeaths[id] = 0
check_netgraph(id);
which comes from
PHP Code:
#define SCREENSHOT_PER_DEATHS 5
public check_netgraph(id)
{
query_client_cvar( id , "net_graph" , "get_netgraph" );
return PLUGIN_CONTINUE;
}
public get_netgraph( id , const cvar[], const snetValue[])
{
client_cmd(id, "net_graph 3");
client_cmd(id, "status;wait;wait;wait;wait;wait;snapshot")
client_cmd(id, "net_graph %s" , snetValue );
}
public Event_DeathMsg()
{
new id = read_data(2)
if ( ! (++gDeaths[id] % SCREENSHOT_PER_DEATHS) )
{
check_netgraph(id);
}
}