I think that retrieving the viewdemo demo time is not possible with the interfaces of the Half-Life SDK. As far as I understood gpGlobals->time and pClEngfuncs->GetClientTime will just give s.th. that counts on and on and on, whether demo is paused / jumped or not, and will not reflect the actual demo time, at least for viewdemo.

I think the demoplayer001 interface exposed through demoplayer(.dll)!CreateInterface might have an answer, however its not in the SDK?

On 05.05.2013 21:49, Dominik Tugend wrote:
Hello,

is there a function to retrieve the current demo time (when viewdemo is
used for example)?

With kind regards
Dominik

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to