Skip to content
View in the app

A better way to browse. Learn more.

Learn more

multi-jump-ability/addons/amxmodx/scripting/include/olds_multijump.inc

olds_multijump.inc
26 lines · 0.8 KB · Pawn include
Raw
/*
 * Multi-Jump Ability natives (olds.ro), GPL-3.0-or-later.
 */
#if defined _olds_multijump_included
    #endinput
#endif
#define _olds_multijump_included

#pragma reqlib olds_multijump

/**
 * Gives a player a number of extra air jumps (rune mode). It replaces the
 * olds_mj_max / olds_mj_flag rule for that player until death or disconnect.
 *
 * @param id        player index (1..MaxClients), must be connected
 * @param jumps     extra jumps per airtime (0..10); -1 hands the player back
 *                  to the cvar rule
 * @return          1 on success, 0 on a bad player or value
 */
native olds_mj_give(id, jumps);

/**
 * Returns how many extra air jumps the player has per airtime right now
 * (rune value or the cvar rule).
 */
native olds_mj_get(id);

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.