Turret: oops
This commit is contained in:
parent
6df6be624d
commit
c627da69a5
@ -130,7 +130,7 @@ public void OnRound(Event hEvent, const char[] sEvent, bool bDontBroadcast)
|
|||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
public Action Command_Turret(int client, int args)
|
public Action Command_Turret(int client, int args)
|
||||||
{
|
{
|
||||||
if (!ZR_IsClientHuman(client))
|
if (!(IsPlayerAlive(client) && ZR_IsClientHuman(client)))
|
||||||
{
|
{
|
||||||
ReplyToCommand(client, "[ZR] You need to be human to use this command.");
|
ReplyToCommand(client, "[ZR] You need to be human to use this command.");
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
|
Loading…
Reference in New Issue
Block a user