View Single Post
ventycz
New Member
Join Date: Jan 2017
Location: Liberec, Czech Republic
Old 02-01-2017 , 13:54   Re: Current round number [CS:S]
Reply With Quote #3

Quote:
Originally Posted by Peace-Maker View Post
I think you need to count the round_end events since map start and reset the counter, if the round end reason is CSRoundEnd_GameStart.
Yes, i think mp_restartgame resets all counts.
I'm creating something very similar to this plugin (which is doing what you have suggested), but it was broken when I used.
So I decided to make my own plugin.

Side question, I'm using the latest SM 1.7+ syntax (similar to C#) & I'm getting a lot of "simbol is never used" warnings, because of the hooked events, but when I remove the arguments (which several languages would allow) I get (of course) the "functions prototypes do not match". Is there a way to disable these warnings or something?
ventycz is offline