Forum

> > CS2D > Scripts > Set round time
Forums overviewCS2D overview Scripts overviewLog in to reply

English Set round time

24 replies
Page
To the start Previous 1 2 Next To the start

old Re: Set round time

C0nan
User Off Offline

Quote
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

old Re: Set round time

sheeL
User Off Offline

Quote
user C0nan has written
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"

old Re: Set round time

C0nan
User Off Offline

Quote
I testes it also on de_dust and nothing

EDIT
In which file you paste it?

old Re: Set round time

sheeL
User Off Offline

Quote
user C0nan has written
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

old Re: Set round time

C0nan
User Off Offline

Quote
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)
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview