ZombieManager: first fix
This commit is contained in:
		
							parent
							
								
									7e4221be8e
								
							
						
					
					
						commit
						9c85921266
					
				@ -123,6 +123,18 @@ public Action Command_DisplayMotherzombies(int client, int args)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
public Action Command_Testround(int client, int args)
 | 
					public Action Command_Testround(int client, int args)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						if(GetClientTeam(client) == CS_TEAM_SPECTATOR)
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							ReplyToCommand(client, "[SM] Please join a Team first.");
 | 
				
			||||||
 | 
							return Plugin_Handled;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if(!IsPlayerAlive(client))
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							ReplyToCommand(client, "[SM] Please respawn yourself first.");
 | 
				
			||||||
 | 
							return Plugin_Handled;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ToggleTestRound(client);
 | 
						ToggleTestRound(client);
 | 
				
			||||||
	return Plugin_Handled;
 | 
						return Plugin_Handled;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user