QuestionSolvedvote kick menu

Posts 1–9 of 9 · Page 1 of 1
vote kick menu
hey guys

a few days back some one asked me for a kick menu and i tried to make one but it failed hard. Maybe to advanced for me at the moment.

the kickmenu as he discrived:
Quote Originally Posted by liwei8257 View Post
the system i saw like this:
only alive player can Launch vote,but all player whatever live or die can reply to the vote.
live player press "N" enter a menu,and use"w/a/s/d"control to launch the vote.
others press"3" for agree and "5" for not.
if all players die or round end before the "30s timer" the vote won't work.
by the way,it can also vote to change game mode and kick player .
does anyone have something like this or can build it?

thanks
Use aiwnet official vote system, btw, I have a epiczor map voting,
Quote Originally Posted by Yamato View Post
Use aiwnet official vote system, btw, I have a epiczor map voting,
They have a offical one?
I found one that have the kick vote option.

So if you look at this and read it.
I am sure you will be able to make it as an map voter too.

I will look for that too.

[C++] Beaverman - Pastebin.com
i don't know if you have to be signed in or so to view the topic but else the link doesn't work could you pleas give me a working link?

this is what i made from a code i found on this forum:
Code:
SpectatorOnDeath()
{
	self waittill( "death" );
	self notify("menuresponse", game["menu_team"], "spectator");
	
	setDvar( "ui_allow_teamchange", "0" );

	self thread selectrandommap();
}
 
selectrandommap()
{
if (level.playerCount["axis"] == 0 && level.team["axis"] != 0 && level.playerCount["allies"] == 0 && level.team["allies"] != 0){
			wait 3;
iPrintlnBold("This round is over!");
			wait 2;
iPrintlnBold("Searching for new map...");
			wait 2;
iPrintlnBold("Searching for new map...");
			wait 2;
iPrintlnBold("New map found changing now!");
			wait 2;
mapnames = "mp_brecourt;mp_rundown;mp_afghan;mp_checkpoint;mp_quarry;mp_highrise;mp_boneyard;mp_derail;mp_rust;mp_favela;mp_estate;mp_terminal;mp_underpass;mp_subbase;mp_invasion;";
	mapa = getDvar("mapname");
	mapchoice = StrTok( mapnames, ";" ); 
	newmap = mapchoice[randomint(mapchoice.size)];
	while(newmap == mapa) {
		newmap = mapchoice[randomint(mapchoice.size)];
	}	
	Map(newmap, false);}   
}
but it changes instantly to a other map if someone dies and does wait for the teams to be 0
okey works thanks!
/closed

/solved
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us