now also not caring about teleports for bhop_ maps
This commit is contained in:
@@ -178,8 +178,8 @@ public void trigger_teleport(const char[] output, int entity_index, int client,
|
|||||||
{
|
{
|
||||||
if (IsValidEdict(entity_index) && IsValidClient(client) && g_bHumansAllowedTime[client])
|
if (IsValidEdict(entity_index) && IsValidClient(client) && g_bHumansAllowedTime[client])
|
||||||
{
|
{
|
||||||
//if its surf maps there most likely are needed teleports
|
//if its surf maps there most likely are needed teleports. mini requested that bhop_ maps also dont stop from teleports.
|
||||||
if (StrContains(g_cMapname, "surf", false) == -1)
|
if (StrContains(g_cMapname, "surf", false) == -1 || StrContains(g_cMapname, "bhop_", false) == 0)
|
||||||
{
|
{
|
||||||
g_bHumansAllowedTime[client] = false;
|
g_bHumansAllowedTime[client] = false;
|
||||||
ResetCurrentClientRaceZone(client);
|
ResetCurrentClientRaceZone(client);
|
||||||
|
|||||||
Reference in New Issue
Block a user