Forum
General
Beta 0.1.2.0 Suggestions & Ideas
player(0,"tablebot"): a Lua table with all bot players IDsand maybe another with all living bots, like:
player(0,"botliving"): a Lua table with all living bot players IDs 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
_player=player
function player(id,value)
	if id==0 then
		if string.lower(value)=="tablebot" then
			local tmp={}
			for _,ids in ipairs(player(0,"table")) do
				if player(ids,"bot") then
					table.insert(tmp,ids)
				end
			end
			return tmp
		elseif string.lower(value)=="botliving" then
			local tmp={}
			for _,ids in ipairs(player(0,"tableliving")) do
				if player(ids,"bot") then
					table.insert(tmp,ids)
				end
			end
			return tmp
		end
		return false
	end
	return _player(id,value)
end
Would be nice to have it though in the cs2dlua library though.
1
function attack(id, weapontype, mode)
Down-side might be potential sites that contain viruses or whatever, but you could make a menu pop up with the link and a warning.
Apache uwu: yeah, just like that, but it would be better if it were like that by default in the cs2dlua.@
Yates: that warning would do nothing, since most people would go in the website anyways, but that´s a really great idea.
Alistaire: is mode a boolean based on the current state of the weapon?ex. someone attacks with m4 w/ silencer --> mode=true
attacks w/e silencer --> mode=false
Alistaire has writtenNope, it's like 'mode = 0' to 'mode = 3' for fully scoped.
Actually, mode = 3 is only used at the laser, the snipers go with mode = 2 and other one-scope/change weapons mode = 1
EngiN33R: What DC sad ?
Admin/mod comment
Don't caps the whole post.I'ld recommend people to worry more about fixing actual bugs than trying to implement new ideas.
edited 1×, last 23.02.12 06:35:42 am
Vetle has writtenTHIS NEEDS ENBSERIES..
No it doesn't. What's wrong with the current graphics? I like them personally.
EngiN33R has written
Vetle has writtenTHIS NEEDS ENBSERIES..
No it doesn't. What's wrong with the current graphics? I like them personally.
The current graphics are so low quality
Beta 0.1.2.0 Suggestions & Ideas


Offline
Re: Beta 0.1.2.0 Suggestions & Ideas