Server bewerben
csb-vip-menu / README.md
1 lines 1.5 KiB Markdown Source Rendered Raw Permalink History

CSB VIP Menu gives your VIPs a reason to keep their tag. A VIP (any player holding the flag in csb_vip_flag, default t) types /vip and gets a menu of perks, each usable a limited number of times per round:

  • Extra Health — +HP up to a VIP-only cap.
  • Full Armor — instant 100 armor.
  • Grenade Pack — HE + flash + smoke.
  • Cloak — 8 seconds near-invisible.
  • Team Glow — a coloured shell in your team colour.
  • Respawn — back into the round when you are dead.

Players who are not VIP still see the perk list and a line telling them to ask an admin about VIP, so the menu doubles as advertising.

Features

  • VIP flag is a cvar, parsed with read_flags().
  • Per-perk, per-round usage limit (csb_vip_limit) shown live in the menu.
  • The respawn perk is only consumed when you are actually dead.
  • Cloak and glow clean themselves up with a task / on the next round.

Installation

  1. Make sure the fun and hamsandwich modules are enabled in modules.ini.
  2. Compile, copy csb_vip_menu.amxx into addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Give your VIPs the flag set in csb_vip_flag in users.ini, then change the map.