Code:
/* LATEJOIN.SMA 1.0
* -
* (c) 2004 Steve Dudenhoeffer
* -
* This plugin will help out latejoiners (and people who aren't that good) by giving them
* experience if they are far behind their team each time they spawn.
* The way it works:
*
* Every time a player spawns, the plugin notes his level
* If his level is less than 75% of the average level of everybody on their team
* Then he is given enough EXP to bring him up to that 75%.
*
* The plugin can be configured to give players only a maximum level.
*
*
* Configuration cvars:
* amx_latejoin - This is the percentage of the average level which is compared with the player.
* Default: 75
*
* amx_maxlate - Maximum levels available through the latejoin method
* ie: If you are level 0, and everybody else on the rest of the team is 10, and
* this is set to 4, you will only get level 4.
*
* Requires: engine, ns module
*
* Some of the enums were shamelessly stolen from CheesyPeteza's Extra Levels plugin, thanks!
*/
Requires:
NS Module
Engine module
Note: You need to run this with the latest AMX Mod X 0.20
I had to say that all big because people never read anything