Change sky during gameplay, MOTD Stats
Is it possible to change the sky during game play or on new round? I read here that only the players that would connect after the sky has changed would be able to see it, by any chance I could make the other players see it too?
Something else I wanted to ask, is this a correct way of displaying data inside variable to MOTD? I'm unable to test. PHP Code:
|
Re: Change sky during gameplay, MOTD Stats
1. Not possible to change sky without reconnecting, i think people have tried this alot of times, and ive never seen it done.
2. Whats the problem, that code looks fine. |
Re: Change sky during gameplay, MOTD Stats
Maybe you can do something with SVC_NEWMOVEVARS, give it a try.
|
Re: Change sky during gameplay, MOTD Stats
Quote:
PHP Code:
Quote:
|
Re: Change sky during gameplay, MOTD Stats
Yes, but it's more complicated than just sending the message, as soon as a difference between server cvars and client movevars is detected the server will send another message to correct this.
What I managed to do is allow each player to have a different sky and set it without altering sv_skyname, but it still requires players to reconnect. At this point I don't know if it's even possible to change the sky without reconnecting, I'll keep testing. |
Re: Change sky during gameplay, MOTD Stats
Quote:
BTW I tested the MOTD stats, and \n didn't work when trying to access a new line, what do I have to use? |
Re: Change sky during gameplay, MOTD Stats
The ctrlchar by default is ^ for pawn, not \. Can be changed by using #pragma ctrlchar
|
Re: Change sky during gameplay, MOTD Stats
Quote:
|
Re: Change sky during gameplay, MOTD Stats
The MOTD window uses HTML, so use <br>.
|
Re: Change sky during gameplay, MOTD Stats
Quote:
So something like this PHP Code:
|
| All times are GMT -4. The time now is 17:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.