View Single Post
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-05-2009 , 18:23   Re: Round Message w/ VOX v2.0
Reply With Quote #2

Hey, nice idea. Here are some things you could/should change:

- Cache the values of get_mapname, get_maxplayers and get_user_msgid( "SayText" ) globally, they will not change midgame.
- Do some identing, you forgot it after the show_rounds_message function.
- I believe you do not have to check is_user_connected when looping through the players based on an get_players array as the native already does this.
- Statics for the print function could also be a good idea.
- Make the thing multilang.


Why do you abort when the current playercount equals maxplayers?
__________________
In Flames we trust!
Nextra is offline