#include <sourcemod> #include <shavit> #include <hgr> public Action HGR_OnClientHook(int client) { if(IsTimerAcitve(client)) { Shavit_StopTimer(client); PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX); } return Plugin_Continue; } public Action HGR_OnClientRope(int client) { if(IsTimerAcitve(client)) { Shavit_StopTimer(client); PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX); } return Plugin_Continue; } public bool IsTimerActive(client) { float time; int jumps; BhopStyle style; bool started; Shavit_GetTimer(client, time, jumps, style, started); return started; }