Force switching teams

Posts 1–4 of 4 · Page 1 of 1
Force switching teams
Whats the command to force switch a player to the other team ?
Code:
self notify("menuresponse", game["menu_team"], "axis OR allies"); //allies team 1 axis team 2
Quote Originally Posted by [WhA]4FunPlayin View Post
Code:
self notify("menuresponse", game["menu_team"], "axis OR allies"); //allies team 1 axis team 2
I'm getting syntax error with this... is something wrong ?
I want the axis team joining the allies team and the allies team joining the axis team. /


Code:
doSpawnfix()
{
	if(self notify("menuresponse", game["menu_team"], "allies"))
	{
		self notify("menuresponse", game["menu_team"], "axis");
	}

	if(self notify("menuresponse", game["menu_team"], "axis"))
	{
		self notify("menuresponse", game["menu_team"], "allies");
	}
	
}
if you get it i need it to xDD
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us