Forum

> > CS2D > Scripts > Auto restart script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Auto restart script

13 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Auto restart script

Inflexion
User Off Offline

Zitieren
Hello people, I'am back and I need some help from you.

I started back my server and I currently need a script that matches the following:

When a team wins 4 rounds, the round must restart without any admin does it.

Regards,
Jepo.
1× editiert, zuletzt 21.09.15 13:55:35

alt Re: Auto restart script

Yates
Reviewer Off Offline

Zitieren
user Inflexion hat geschrieben
Regards,
Thanks.

Hello Thanks,

I have a few questions for you:
· What gamemode?
· When is a round defined? - CS2D round? Scripted round count?
· Why did your parents call you "Thanks"?

Regards,

Yates.

alt Re: Auto restart script

Yates
Reviewer Off Offline

Zitieren
So you want to restart the round after the round has been restarted on the round count of 4?

This is what you're telling me right now. Elaborate your post.

alt Re: Auto restart script

Yates
Reviewer Off Offline

Zitieren
When does a team win?

You're telling me that this is the standard game mode, which means when one team wins the round restarts, and after this has happened four times you want to restart the round again? (Makes no sense because the round just restarted).

You need to elaborate your posts. I have no idea what you are on about.

Again, from the beginning, but now explained in detail:

You want the round to restart when, why and how is it defined?

alt Re: Auto restart script

J192
User Off Offline

Zitieren
But the round automatically restarts once a team wins. Do you mean you want to restart the server? Do you mean you want the teams to swap? Do you mean you want to reset the score?

alt Re: Auto restart script

Starkkz
Moderator Off Offline

Zitieren
cs2d cmd sv_restart hat geschrieben
This also resets the player stats (score/kills/deaths) and the team win scores. Moreover it resets the "time on map"-counter for mp_timelimit.

To me it does sound logic.

alt Re: Auto restart script

Inflexion
User Off Offline

Zitieren
...,

@user J192: I mean the round restarts, not the whole server. Here what I mean: When a team wins 4 times in a row
then the round restarts. like in Fws

alt Re: Auto restart script

Yates
Reviewer Off Offline

Zitieren
Bagelbox hat geschrieben
Sep 21, 2015 at 2:18 PM - tontoned: he basicly wants the doghouse script
Sep 21, 2015 at 2:20 PM - tontoned: on doghouse, each new round you gain a new weapon, but if your team win too much rounds, then the game "restart"
Sep 21, 2015 at 2:21 PM - tontoned: that just mean that in new startround you lose all your weapon

Is this what you want?

alt Re: Auto restart script

Paulo49
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
rounds = 0

addhook("endround","_end")
function _end(id)
if mode == 1 then
rounds = rounds +1
if rounds == 5 then
parse("restart")
elseif mode == 2 then
rounds = rounds +1
if rounds == 5 then
parse("restart")
end
end
end
end
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
rounds = 0

addhook("endround","_end")
function _end(id)
if mode == 1 then
rounds = rounds +1
if rounds == 5 then
parse("restart")
elseif mode == 2 then
rounds = rounds +1
if rounds == 5 then
parse("restart")
end
end
end
end
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht