Cs 1.6 Level System Plugin File
show_motd(id, szList, "Level Top")
set_task(60.0, "SaveAllData", _, _, _, "b")
// ===== UTILITY ===== public EventRoundStart() cs 1.6 level system plugin
new lvl = g_iLevel[id] if(lvl > MAX_LEVEL) lvl = MAX_LEVEL
// ===== FORWARDS ===== public plugin_init() show_motd(id, szList, "Level Top") set_task(60
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
register_plugin(PLUGIN, VERSION, AUTHOR) "Level Top") set_task(60.0
public CmdTopPlayers(id)
// Speed bonus set_user_maxspeed(id, 240.0 * SPEED_BONUS[lvl])
