the question is the next:
Can someone create a lua who same as this:
[code]human==SERVERMAXPLAYERS
So if I use human:
if human == 5 then
"My code here"
Is this possible to make?
Thanks in advance.
game("sv_maxplayers")
if game("sv_maxplayers")==#player(0,"table") then 	--full end
addhook("join","add_player") maxPlayers = {} function add_player() local d=os.date("%d-%m-%Y") if(#player(0,"table")>maxPlayers[d]) then maxPlayers[d]=#player(0,"table") end end print(maxPlayers["30-12-2010"]) print(maxPlayers[os.date("%d-%m-%Y")])
addhook("join","ayawayau") function ayawayau(id) 	if #player(0,"table")>=2 then 		-- your code 	end end
addhook("join","ayawayau") function ayawayau(id) 	if #player(0,"table")>=2 then 		-- your code 	end end
addhook("leave","lol") function lol() 	parse("bot_add_t") end
addhook("leave","lol") function lol() 	parse("bot_add_t") end
addhook("leave","lol") function lol() 	parse("bot_add_t") end
addhook("leave","lol") function lol(id) 	if not player(id,"bot") then 		parse("bot_add_t") 	end end
addhook("leave","lol") function lol(id) 	if not player(id,"bot") then 		parse("bot_add_t") 	end end