Replies: 3 comments 1 reply
-
Yes, accessing MatchStats or PerRoundStats is the correct approach. As for teams switching sides, I am not aware of any event for this. But you can simply check the CSTeam of a player when a round ends. |
Beta Was this translation helpful? Give feedback.
-
I just remembered that many properties inside You will have to either access them during next RoundStart (FreezeTime), or when match ends. |
Beta Was this translation helpful? Give feedback.
-
I tested |
Beta Was this translation helpful? Give feedback.
-
I want to currently track how much damage a player has done in a round i made a small test projekt to compare what i can get from playerHurt event compared to what cs spits out, but playerhurt will spit out 100 damage even if the player had 1 health. Im unsure what is best pratice here, i considered at each round end one could save the matchstats object for the player for some of the stats.
and if one just wants to track on each side switch i guess one could pull matchstats on a side switch event, but i dont think we have one right now right?
@in0finite Tagging you cuz you def know the answers to my dumb rambling, thank you for the help in advance.
Test code:
` public static string flashWork = "C:\Users\xguys\Desktop\UnsignedFraggers_vs_ENABLE_map1_de_ancient_2024-09-16_18-00-20_66db4caddcd6bb3cd8b61a37_1726509620211\66db4caddcd6bb3cd8b61a37_0_1726509620211.dem";
Beta Was this translation helpful? Give feedback.
All reactions