It seems I can't make some buildings be unbuildable.
Here's the problem
1
parse("mp_unbuildable Wall 1,Wall 2,Wall 3,Teleport Entrance,Teleport Exit,Gate Field,Supply")
Scripts
Lua error, mp_unbuildable
Lua error, mp_unbuildable
1

parse("mp_unbuildable Wall 1,Wall 2,Wall 3,Teleport Entrance,Teleport Exit,Gate Field,Supply")
parse('mp_unbuildable "Wall 1,Wall 2,Wall 3,Teleport Entrance,Teleport Exit,Gate Field,Supply"')
mp_unbuildable requires ONE single string containing the building(s). you have to put quotes around it in order to tell the CS2D parser that it is one big string. parse("mp_unbuildable Wall 1")
parse("mp_unbuildable Wall 2")
parse("mp_unbuildable Wall 3")
parse("mp_unbuildable Wall 1")
parse("mp_unbuildable Teleport Entrance")
parse("mp_unbuildable Teleport Exit")
parse("mp_unbuildable Supply")
function unbuild(building)
	if buildings==nil then
		buildings=building
	else
		buildings=buildings..","..building
	end
	parse("mp_unbuildable \""..buildings.."\"")
end
unbuild("Wall I")
unbuild("Wall II")
unbuild("Teleporter Entrance")
unbuild("Teleporter Exit")
unbuild("Supply")
1
