forked from UNLOZE/sm-plugins
fix errors
ExtraCommands: add sm_setmvp
This commit is contained in:
@@ -42,7 +42,7 @@ public void OnClientPutInServer(int client)
|
||||
|
||||
public void OnWeaponSwitch(int client, int weapon)
|
||||
{
|
||||
if(!g_Cvar_QuickSwitch_Knife.BoolValue || ZR_IsClientZombie(client))
|
||||
if(!g_Cvar_QuickSwitch_Knife.BoolValue || !IsPlayerAlive(client) || ZR_IsClientZombie(client))
|
||||
return;
|
||||
|
||||
char sWeaponName[32];
|
||||
|
||||
Reference in New Issue
Block a user