[StackMode] Don't block player_death (Post hook)
This commit is contained in:
parent
914393363e
commit
d2a812153b
@ -736,7 +736,7 @@ public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast)
|
|||||||
g_iVIPClientTwo = -1;
|
g_iVIPClientTwo = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Plugin_Handled;
|
return Plugin_Continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_iVIPClient = PotentialVIPClient[GetRandomInt(0, PotentialVIPCount - 1)];
|
g_iVIPClient = PotentialVIPClient[GetRandomInt(0, PotentialVIPCount - 1)];
|
||||||
@ -775,7 +775,7 @@ public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast)
|
|||||||
if(PotentialVIPCount < 1)
|
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.");
|
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)];
|
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);
|
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)
|
public void OnClientDisconnect(int client)
|
||||||
|
Loading…
Reference in New Issue
Block a user