Im trying to reroute players to my new vps with this script.
1
2
3
4
5
6
2
3
4
5
6
ip = "31.14.133.178"
addhook("team","team_h")
function team_h(id)
	parse("reroute "..id.." "..ip..game("port"))
end
But three is a problem
When i press to connect
Cs2d reroutes me to 0.0.0.0:36963
Sorry for my bad english, I hope my problem is clear enough to understand.
Edit
Sorry found my fail now:
parse("reroute "..id.." "..ip..game("port")) should be
parse("reroute "..id.." "..ip..":"..game("port"))edited 2×, last 29.04.17 06:29:26 pm
Reroute command reroutes to 0.0.0.0:36963
1 
Offline
