Cs 1.6 Level System Plugin 〈100% Best〉
new c = a a = b b = c
// ===== CONFIGURATION ===== new const XP_PER_KILL = 10 new const XP_PER_HS = 5 new const BASE_XP_LEVEL[] = 0, 100, 250, 450, 700, 1000, 1350, 1750, 2200, 2700, 3250 new const MAX_LEVEL = 10
// Damage bonus is handled in Ham_TakeDamage (see below) cs 1.6 level system plugin
// ===== DAMAGE BONUS ===== public plugin_precache()
register_plugin(PLUGIN, VERSION, AUTHOR) new c = a a = b b
for(new i = 1; i <= MAX_PLAYERS; i++) if(is_user_connected(i)) SaveUserData(i)
set_task(60.0, "SaveAllData", _, _, _, "b") AUTHOR) for(new i = 1
new lvl = g_iLevel[id] new xp = g_iXP[id] new nextXP = (lvl >= MAX_LEVEL) ? 0 : BASE_XP_LEVEL[lvl+1] new needed = (lvl >= MAX_LEVEL) ? 0 : nextXP - xp