1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[22:33:56] [ZP] Map change to <zm_greymarsh
> by Admin
[22:33:56] LOAD MAP: 'maps/zm_greymarsh
.map' does not exist
[22:33:56] 16
[22:33:57] [ZP] Map change to <zm_researchcentermk
> by Admin
[22:33:57] LOAD MAP: 'maps/zm_researchcentermk
.map' does not exist
[22:33:57] 15
[22:33:58] 14
[22:33:59] [ZP] Map change to <zm_Assisi_Piazza_v1.1
> by Admin
[22:33:59] LOAD MAP: 'maps/zm_Assisi_Piazza_v1.1
.map' does not exist
[22:33:59] 13
[22:34:00] [ZP] Map change to <zm_cafecounty
> by Admin
[22:34:00] LOAD MAP: 'maps/zm_cafecounty
.map' does not exist
[22:34:00] 12
[22:34:01] [ZP] Map change to <zm_de_dust
> by Admin
[22:34:01] LOAD MAP: 'maps/zm_de_dust
.map' does not exist
[22:34:01] 11
[22:34:02] [ZP] Map change to <zm_de_dust2_xmas
> by Admin
[22:34:02] LOAD MAP: 'maps/zm_de_dust2_xmas
.map' does not exist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if title:sub(1, 4) == "Maps" then
local page = title:match("(%d*)/"..math.ceil(#mp.maps / 6))
local pages = math.ceil(#mp.maps / 6)
if button == 8 then mp.mapmenu(id, page + 1) end
if button == 9 then mp.mapmenu(id, page - 1) end
if button <= 6 and button > 0 then
if level[id] < 5 and not mp.pollstarted then
local map = ((page - 1) * 6) + button
mp.startpoll(id, map)
elseif level[id] >= 5 then
local e
local map = ((page - 1) * 6) + button
mp.map = mp.maps[map]
for e = 1,p_cnt do
if player(e,'exists')then
zp_player_sv(e)
end
end
msg(content[1].."Map change to <"..mp.map.."> by Admin@C")
timer(5000,"parse","changemap "..mp.map)
else
msg2(id,"\169255000000Error, there's already a map vote pending!")
end
end
end
Any ideas why it wont change map?
I have noticed that it only occurs on my linux dedicated server. While on my windows dedicated it works changing the map. I feel like is some kind of a cs2d bug