Description:
LevelMod is a plugin for CS 1.6 where you gain points for your actions.
When you get enough points you will levelup.
In levelmod.ini you choose how much points needed for each level & levelname.
In there you can also choose which knife model he should get when levelup.
Requirement includes:
chatcolor:
https://forums.alliedmods.net/showthread.php?t=94960
nvault_util:
https://forums.alliedmods.net/showthread.php?t=139584
Things you can edit in the plugin:
PHP Code:
// Tag for messages in the plugin
#define TAG "LevelMod"
//What admin rank you should have to give points
#define ADMIN_LEVEL ADMIN_KICK
//Max levels
#define MaxLevels 100
//Top number
#define TopNumber 15
//Max players
#define MAX_PLAYERS 32
//iChat tag support //1 to enable
//You also need to edit this line "CHAT_USE_CUSTOM_TAGS" in the ichat.cfg
#define iChat_Tags 0
Cvars:
Here is the list of cvars of how much points you should get
- g_pCvar_Kill = register_cvar("cvar_kill", "2") // +2
- g_pCvar_Headshot = register_cvar("cvar_headshot", "4") // +4
- g_pCvar_Win = register_cvar("cvar_win", "3") // +3
- g_pCvar_Lose = register_cvar("cvar_lose", "1") // -1
- g_pCvar_Dying = register_cvar("cvar_dying", "2") // -2
- g_pCvar_Suicide = register_cvar("cvar_suicide", "3") // -3
- g_pCvar_Logadmin = register_cvar("cvar_logadmin", "1") // 1 = logadmin give points (addons/amxmodx/logs/levelmod.txt)
OBS: You can pick 0 in any cvar and its function will be disable.
Changelog:
v1.0 : Released
v2.0 : Added more cvars, made more optimized and changed some words.
v3.0 : Optimized, Removed gamble/donate, added ini & vault .
v4.0 : Recoded everything.
v5.0 : Fixed some errors, Added cvar_logadmin & Optimized.
v6.0 : More optimization
v7.0 : Added iChat Compatibility.
v8.0 : Added lose cvar, optimization and ML support.
Credits:
Fysiks : For helping me create the ini load file.
Alka : I took his Save, Load & Top15.
Installation:
- Download the required includes and compile the plugin locally.
- Download levelmod.zip and add all the models, config file and the ml file.
- Add the levelmod.amxx in plugins.ini.
- Your done.
Commands:
/lvl
/level
/top
/pointsadmin
(Access only with the ADMIN_LEVEL define)
Pictures:
/pointsadmin menu
/top
Download below: