Skip to content
View in the app

A better way to browse. Learn more.

Learn more

paintball-item-shop/addons/amxmodx/scripting/include/olds_paintball.inc

olds_paintball.inc
21 lines · 0.7 KB · Pawn include
Raw
// Paintball Item Shop (olds.ro) - what a paintball mode plugin provides so the shop
// knows when it runs. GPL-3.0-or-later.
//
// In the paintball mode plugin:
//     public plugin_natives()
//     {
//         register_library("paintball")
//         register_native("pb_is_active", "native_pb_is_active")
//     }
//     public native_pb_is_active(plugin, params) { return g_paintballRunning; }
//
// Without the "paintball" library the shop treats paintball as running whenever the
// "Paintball Gun" plugin is loaded.

#if defined _olds_paintball_included
    #endinput
#endif
#define _olds_paintball_included

/** 1 while the paintball mode is on, 0 otherwise. */
native pb_is_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.