View Single Post
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 08-04-2009 , 04:17   Re: Crashed Map Recovery
Reply With Quote #5

Quote:
Originally Posted by crazydog View Post
Do you mean timeleft? or mp_timelimit?

I can't save the timeleft since the server would have crashed.
I don't think I need to save mp_timelimit, since I'd have to assume most people have mp_timelimit set in some config.
I see the way how do it. You can save timeleft with GetMapTimeLeft each 20 seconds than after crash and server restart just set convar mp_timeleft to the latest saved time.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel