About This File
Random VIP System (Auto-Selection)
This plugin is designed to boost community engagement and reward active players on your CS 1.6 server automatically selects one random player at the end of every few rounds and grants them temporary VIP status for the remainder of the map.
Key Features:
-
Automatic Selection: The system tracks eligible players and holds a "raffle" to pick one winner per map.
-
Eligibility Check: Players who already have the required VIP flags are automatically excluded from the selection to ensure fairness.
-
Interactive Visuals: Once a winner is picked, the plugin triggers special in-game effects, including a gold-colored screen fade, screen shake, and a dynamic light effect (DLight) at the winner's location.
-
Winner Announcement: The system broadcasts a congratulatory message in the chat and displays a HUD message to all players, highlighting the new VIP.
-
Disconnected Player Protection: If the winner leaves the server, the system resets, ensuring a new winner can be picked in the next eligible round.
Installation Guide:
-
Compile the Plugin:
-
Take the
random_vip.smasource code file. -
Use your AMX Mod X compiler (
compile.exe) to generate therandom_vip.amxxfile.
-
-
Upload the File:
-
Place the compiled
random_vip.amxxfile into your server'saddons/amxmodx/plugins/directory.
-
-
Activate the Plugin:
-
Navigate to your
addons/amxmodx/configs/plugins.inifile. -
Add the following line to the end of the file:
-
random_vip.amxx
4. **Restart or Change Map:**
* Restart your server or change the map for the plugin to start running immediately.
---
**Note:** The plugin currently uses VIP flags `bt`. Ensure these flags correspond to the VIP
