Forum

> > CS2D > General > Fix for AS_ maps
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Fix for AS_ maps

No replies
To the start Previous 1 Next To the start

old Fix for AS_ maps

mrc
User Off Offline

Quote
VIP sometimes start the round with your previous weapons and it sucks. Besides that if you shoot with those weapons it doesn't deal any damage. And for last and not least, VIP should have 200 armor points as the real Counter-Strike. This bug exist since 2008. This simple script that I made fix it all. We can enjoy VIP missions again!

1
2
3
4
5
6
7
8
9
10
11
12
addhook("startround","fixVIP")
function fixVIP(id)
items = {2,3,4,5,6,10,11,20,21,22,23,24,30,31,32,33,34,35,36,37,38,39,40,41,51,52,53,54,57,58}
	for id = 1,32 do
		for i = 1, #items do
			if player(id,"team") == 3 then
				parse("strip "..id.." "..items[i])
				parse("setarmor "..id.." 200")
			end
		end
	end
end
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview