From e80286157d83a13ef3de3e9dc65d1dbfadc5f74f Mon Sep 17 00:00:00 2001 From: jenz Date: Wed, 25 Jan 2023 16:19:21 +0100 Subject: [PATCH] fixed water/ladder tp issue probably --- AutismBotIngame/scripting/autism_bot_info.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutismBotIngame/scripting/autism_bot_info.sp b/AutismBotIngame/scripting/autism_bot_info.sp index 9935dd3e..0f193877 100644 --- a/AutismBotIngame/scripting/autism_bot_info.sp +++ b/AutismBotIngame/scripting/autism_bot_info.sp @@ -129,14 +129,14 @@ public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3 if (!IsValidClient(client) || !IsPlayerAlive(client) || !is_bot_player[client]) return Plugin_Continue; if ((GetEntityMoveType(client) & MOVETYPE_LADDER)) { - has_to_jump_bots[client] = 0; + has_to_jump_bots[client] = 2; GetEntPropVector(client, Prop_Send, "m_vecOrigin", coords_run_cmd[client]); return Plugin_Continue; } if (GetEntProp(client, Prop_Data, "m_nWaterLevel") != 0) { - has_to_jump_bots[client] = 0; + has_to_jump_bots[client] = 2; return Plugin_Continue; } //make sure fell of an edge instead of actually jumping