Raised This Month: $ Target: $400
 0% 

is_matchstart ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 08-15-2012 , 17:26   Re: is_matchstart ?
Reply With Quote #5

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] = 
check_netgraph
(id); 
which comes from
PHP Code:
#define SCREENSHOT_PER_DEATHS 5 

public check_netgraph(id
{
   
query_client_cvarid "net_graph" "get_netgraph" );
   return 
PLUGIN_CONTINUE;
}
public 
get_netgraphid , 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);
    } 

vamppa is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode