Made zr_ztele_humans cvar for allowing or disallowing humans to use the teleporter. Defaults to allow.
This commit is contained in:
@ -227,7 +227,8 @@ ZTele(client)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!IsPlayerZombie(client) && zombieSpawned)
|
||||
new bool:tele_humans = GetConVarBool(gCvars[CVAR_ZTELE_HUMANS]);
|
||||
if (!IsPlayerZombie(client) && !tele_humans && zombieSpawned)
|
||||
{
|
||||
ZR_PrintToChat(client, "!ztele humans restricted");
|
||||
|
||||
|
Reference in New Issue
Block a user