1 // time the player was alive and kicking
2 string PLAYERSTATS_ALIVETIME = "alivetime";
3 string PLAYERSTATS_KILLS = "kills";
5 // delay map switch until this is set
6 float playerstats_waitforme;
8 // call at initialization
9 void PlayerStats_Init();
12 void PlayerStats_AddPlayer(entity e);
15 void PlayerStats_AddEvent(string event_id);
17 // call on each event to track, or at player disconnect OR match end for "global stuff"
18 void PlayerStats_Event(entity e, string event_id, float value);
21 void PlayerStats_Shutdown(); // send stats to the server
24 void PlayerStats_Sent_URI_Get_Callback(float id, float status, string data);
26 // call this whenever a player leaves
27 void PlayerStats_AddGlobalInfo(entity p);