gg_welcome_msg
Posted:
Sat Mar 26, 2011 8:38 am
by Jumpman
I've noticed that when you switch teams then the welcome message come up again, it is not meant only to come up when people connect to server.
Its rather annoying one should read the message when you change teams
Posted:
Sat Mar 26, 2011 6:36 pm
by satoon101
Do you mean that players are being shown the message every time they change teams? That shouldn't be happening. Actually, that "can't" be happening...
When players first join the server, the server fires an event called player_activate. gg_welcome_msg then adds them to a queue, so that the next time (and only the next time) they fire player_team, they will be sent the Welcome Message. player_activate will also fire during map change for 'every' player on the server during that time. So, players will again be added to a queue, and then sent the message the next time (and only the next time) they fire player_team. But again, that only happens during map change. So, every player will only see the message one time for each map, unless they disconnect and re-join the server during the same map.
Satoon
Posted:
Sat Mar 26, 2011 10:50 pm
by Jumpman
Yes thats what i mean sorry my bad english
When players first join the server, the server fires an event called player_activate. gg_welcome_msg then adds them to a queue, so that the next time (and only the next time) they fire player_team, they will be sent the Welcome Message.
I get the message when i join the server and on every map change "OK"
But when i change team i get it one more time as you write and then no more before next map. When change team it would be nice you can disable this function with a cvar in gg_welcome_msg.cfg so you only get it when join server and on mapchange its a big problem on our server this number 2 message come up when team change first time in new map.