ZombieManager: first fix
This commit is contained in:
parent
f72914330f
commit
3c6acb927d
@ -123,6 +123,18 @@ public Action Command_DisplayMotherzombies(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);
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user