Raised This Month: $ Target: $400
 0% 

auto swap teams


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
razaR
Member
Join Date: Feb 2008
Old 05-10-2008 , 02:39   Re: auto swap teams
Reply With Quote #1

Quote:
Originally Posted by connorr View Post
Replace :

set_pcvar_string(sv_restartround, "1")

with :

set_pcvar_float(sv_restartround, 1.0)
it's work i think, thank you.
now i have one more question, a little bigger one:
it is possible that the server will know if the first half or the second half over?
for example, after 15 rounds the first half will over, and than when one of the teams reached the winlimit of 16 winnings, it will disconnect everyone from the server and if the game over with draw (15-15), it will swap the teams again..???

Last edited by razaR; 05-10-2008 at 02:52.
razaR is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-10-2008 , 03:33   Re: auto swap teams
Reply With Quote #2

Disconnect players is a bad idea, better idea would be either to change the map, either to randomize teams.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
razaR
Member
Join Date: Feb 2008
Old 05-10-2008 , 04:54   Re: auto swap teams
Reply With Quote #3

Quote:
Originally Posted by connorr View Post
Disconnect players is a bad idea, better idea would be either to change the map, either to randomize teams.
its not public server, i will explain:
i have server that i run in it matches (5 vs 5 games, mr15 rules, the first team who get 16 round-winning - wins the match).
the match include two halfs - first half 15 rounds (the score could be 8-7 for exp) and the second half runs untill one of the teams reached 16 total wins and i want that when the match is over, the server kick everyone and be empty untill the next match.
the server is only for matches like that..
hope you understand now..
razaR is offline
Gicu
Member
Join Date: May 2008
Location: Romania
Old 05-10-2008 , 10:18   Re: auto swap teams
Reply With Quote #4

Quote:
Originally Posted by razaR View Post
its not public server, i will explain:
i have server that i run in it matches (5 vs 5 games, mr15 rules, the first team who get 16 round-winning - wins the match).
the match include two halfs - first half 15 rounds (the score could be 8-7 for exp) and the second half runs untill one of the teams reached 16 total wins and i want that when the match is over, the server kick everyone and be empty untill the next match.
the server is only for matches like that..
hope you understand now..
Imho the best thing to do in that case wold be for some message to popup when the game is over announcing which of the teams won and what is the final score.

Even more, wold be great to change both teams at spectators once the game is over and kick them in like 20 seconds (afk kicker script).

I also do clan war games on my server daily ..which is using Clanwarsettings script (for server setup ...freeze time ,camera mode etc) and a plugin named clansort which changes clans (after clan tag) to tero/CT via commands. . . so , since those things ware possible i also think there wold be possible for a mighty leet script which wold do all....just that we need some1 with free time and devotion for such a thing
Gicu is offline
Send a message via Yahoo to Gicu
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode