Forum

> > CS2D > Scripts > Set round time
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Set round time

24 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt Re: Set round time

C0nan
User Off Offline

Zitieren
It's all code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("second","checker")
function checker()
local mapper=map("name")
if mapper == "cmpgn_1_mission1" then
cab()
else
return 0
end
end

function cab()
parse("mp_roundtime 20")
return 1
end

alt Re: Set round time

sheeL
User Off Offline

Zitieren
user C0nan hat geschrieben
It's all code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("second","checker")
function checker()
local mapper=map("name")
if mapper == "cmpgn_1_mission1" then
cab()
else
return 0
end
end

function cab()
parse("mp_roundtime 20")
return 1
end


Works Perfecly...
Re-Install your CS2D or change the map name
1
"cmpgn_1_mission1"

alt Re: Set round time

C0nan
User Off Offline

Zitieren
I testes it also on de_dust and nothing

EDIT
In which file you paste it?

alt Re: Set round time

sheeL
User Off Offline

Zitieren
user C0nan hat geschrieben
I testes it also on de_dust and nothing

EDIT
In which file you paste it?


in maps/de_dust.lua
and doesnt have error

alt Re: Set round time

C0nan
User Off Offline

Zitieren
I don't recive weapon and time is 10 still and when i type in settings 30 mins it's 30 mins not 20 On de_dust you recive weapon automatically but on my cmpgn_1_mission1 map it's disabled (info_noweapon)
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht