I mean, I really don't want the player dying, it means I don't want the solutions which involves making the player dying and then spawning again, or something like that.
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
About the makect/maket command
2 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
I mean, I really don't want the player dying, it means I don't want the solutions which involves making the player dying and then spawning again, or something like that.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function switch_team(id) 	if player(id,"exists") then 		local myX = player(id,"x"); 		local myY = player(id,"y"); 		if player(id,"team") == 1 then 			parse("makect "..id); 		else 			parse("maket "..id); 		end 		parse("spawnplayer "..id.." "..myX.." "..myY); 		if tonumber(player(id,"deaths")==0) then	 			parse("setdeaths "..id.." 0"); 		else 			parse("setdeaths "..id.." "..player(id,"deaths")-1); 		end 	end end
![user](img/i_friend.png)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)