[StackMode] Don't block player_death (Post hook)

This commit is contained in:
zaCade 2025-03-02 10:23:52 +01:00
parent 914393363e
commit d2a812153b

View File

@ -736,7 +736,7 @@ public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast)
g_iVIPClientTwo = -1;
}
return Plugin_Handled;
return Plugin_Continue;
}
g_iVIPClient = PotentialVIPClient[GetRandomInt(0, PotentialVIPCount - 1)];
@ -775,7 +775,7 @@ public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast)
if(PotentialVIPCount < 1)
{
CPrintToChatAll("{cyan}[UNLOZE StackMode]{lightgreen} Couldn't find a valid client to set as 2nd Stack Master. Sticking with only one Stack Master for this round.");
return Plugin_Handled;
return Plugin_Continue;
}
g_iVIPClientTwo = PotentialVIPClient[GetRandomInt(0, PotentialVIPCount - 1)];
@ -786,7 +786,7 @@ public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast)
CPrintToChatAll("{cyan}[UNLOZE StackMode] {white}%N{lightgreen} is the 2nd Stack Master! Stay near him or you will lose HP.", g_iVIPClientTwo);
}
return Plugin_Handled;
return Plugin_Continue;
}
public void OnClientDisconnect(int client)