Skip to content
View in the app

A better way to browse. Learn more.

Learn more

wave-bell/addons/amxmodx/scripting/include/olds_wavebell.inc

olds_wavebell.inc
28 lines · 0.8 KB · Pawn include
Raw
/*
 * Wave Bell (olds_wavebell) API, for a zombie wave core or a bridge plugin.
 * Copyright (C) 2026 daemon (olds.ro)
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
#if defined _olds_wavebell_included
    #endinput
#endif
#define _olds_wavebell_included

#pragma reqlib olds_wavebell
#if !defined AMXMODX_NOAUTOLOAD
    #pragma loadlib olds_wavebell
#endif

/**
 * The next wave starts in this many seconds. Call again whenever the schedule
 * changes; a running countdown follows at once.
 *
 * @param seconds  seconds from now; 0.0 or less means no wave is scheduled
 */
native olds_wavebell_set_next(Float:seconds);

/**
 * A wave has started (true) or ended (false). While a wave runs, requests are
 * refused and any countdown is cancelled.
 */
native olds_wavebell_set_active(bool:active);

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.