So, I was searching a way to get the current round number of the match... I'm sure this can be accessed some easy way since, for example, the "mp_backup_round_file_pattern" convar accept the "%round%" variable, which replaces it with the round number in the backup file name... (https://totalcsgo.com/command/mpbackuproundfilepattern
I used "sm_dump_netprops netprops.txt" and was taking a look in the dump file and found "m_scoreTotal"... This could be my answer... BUUUT this netprop can't be accessed using GameRules_GetProp
because it's outside the GameRules scope.
I then found the source code used to get GameRules netprops: https://github.com/alliedmodders/sou...lesnatives.cpp
I was thinking of some approaches but I wanted to hear from you guys; what would be the best way to implement a safe and robust code in my plugin so I can get the "m_scoreTotal" value, or any other netprop value?
Perhaps a method like GetProp could be implemented in sourcemod as default, where you would provide the scope you want to get the prop from...