View Single Post
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-05-2009 , 18:45   Re: Round Restart v1.0
Reply With Quote #2

Mh, I think thats a little bit of overkill for a simple sv_restart but anyway, here are some things you could/should change:

- Use get_cvar_pointer to use get_pcvar_string on hostname.
- Cache the mapname at startup, won't change.
- Statics for print function could be a good idea.
- Multilang
__________________
In Flames we trust!
Nextra is offline