This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[CS:GO]Catch GOTV event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BlackFart
Junior Member
Join Date: Feb 2021
Old 02-08-2021 , 14:09   [CS:GO]Catch GOTV event
Reply With Quote #1

Hello,
I would like to catch this event : 'Completed GOTV demo "/path/to/the/demo", recording time xxx.x' to perform action on the file.
I don't think I can use `OnMapEnd` (or others events when I'm sure the file has been written) as I don't know the name of the file (I wrote in the name the timestamp of the demo).
Do you have any idea ? I haven't found any documentation on it... (I'm certainly missing it)

Thank you for your help

EDIT:
I had an idea. At this time, I'm starting the record in OnMapStart(), could I stop it manually in OnMapEnd(), then using CreateTimer(10, actionOnDemo) to do what I want to do on it ?
I fear that, if the server go down (nobody left on it) the actionOnDemo will never be called ?
EDIT2: okay, OnMapEnd() isn't even triggered when server is shutting down when all players are disconnected...

Last edited by BlackFart; 02-10-2021 at 09:17.
BlackFart is offline
Reply



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:29.


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