[ZP] [ ADDON ] - Save Zombie Class System [FREE]
[ZP] Save Class System v1.2


A lightweight and efficient AMX Mod X plugin for Zombie Plague that persistently saves a player's selected zombie class across map changes and server restarts.



Author: Zero




Features
* Persistent Saving: Automatically saves the player's current zombie class upon disconnecting.
* Auto-Load: Restores the saved class as soon as the player joins the server.
* Name-Based: Uses the player's current nickname to link and save their class data.
* Database Maintenance: Automatically prunes inactive records from the vault if a player hasn't joined in the last 15 days, preventing database bloat and server lag.



Requirements & Compatibility
* AMX Mod X 1.8.3 or higher.

* Tested and compatible with Zombie Plague 4.3 and ZPSP.
* fvault module/include. ?link???



Installation
  1. Ensure you have the `fvault.inc` file in your amxmodx/scripting/include/ directory.
  2. Compile zp_save_zombie_class.sma using your local compiler.
  3. Move the compiled zp_save_zombie_class.amxx to your amxmodx/plugins/ directory.
  4. Add zp_save_zombie_class.amxx to the bottom of your plugins-zplague.ini file.
  5. Restart the server or change the map.



How it Works
The plugin utilizes the fast vault (`fvault`) system to read and write simple key-value pairs (Player Name -> ClassID). It operates silently in the background, requiring no admin commands or user configuration. Console logs will print successful loads for debugging purposes.

Download from mirror
Hello, Our administration publishes only cannon content, put like under the post below and write the top comment, we are preparing the material just for you, Darling Гость.

Users belonging to group Guests cannot add comments to this article.
Base for Your Build
Information

Welcome to TB-TEAM.COM!

To become a full-fledged user of our portal, you need to register.
Register
Create your own account!

Register Now
Log In
Already registered? Go ahead and log in!

Log In