Forum

> > CS2D > Scripts > Map vote script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Map vote script

2 replies
To the start Previous 1 Next To the start

old Map vote script

Black Wolf
User Off Offline

Quote
Can some tell how do i can make map voting script, but i want script like each map has own game mode and lua.

old Re: Map vote script

Suprise
BANNED Off Offline

Quote
Maybe this will help:
Spoiler >


You need to write
1
2
3
4
5
if prefix("MAPTYPE_") then
	parse("sv_gm GAMEMODE")
	--and more if you want
end
(Or more end)

The maptype mean:
aim_, es_, de_, etc, etc
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview