diff --git a/scripting/shavit-rankings.sp b/scripting/shavit-rankings.sp index 0552c9b6..a908f7ea 100644 --- a/scripting/shavit-rankings.sp +++ b/scripting/shavit-rankings.sp @@ -83,27 +83,30 @@ public void OnAllPluginsLoaded() public void OnPluginStart() { - // database connections - Shavit_GetDB(gH_SQL); - SQL_SetPrefix(); - SetSQLInfo(); + // database connections + Shavit_GetDB(gH_SQL); + SQL_SetPrefix(); + SetSQLInfo(); - // player commands - RegConsoleCmd("sm_points", Command_Points, "Prints the points and ideal time for the map."); - RegConsoleCmd("sm_rank", Command_Rank, "Shows your current rank."); - RegConsoleCmd("sm_prank", Command_Rank, "Shows your current rank. (sm_rank alias)"); - RegConsoleCmd("sm_top", Command_Top, "Shows the top players menu."); - RegConsoleCmd("sm_ptop", Command_Top, "Shows the top players menu. (sm_top alias)"); + // player commands + RegConsoleCmd("sm_points", Command_Points, "Prints the points and ideal time for the map."); + RegConsoleCmd("sm_rank", Command_Rank, "Shows your current rank."); + RegConsoleCmd("sm_prank", Command_Rank, "Shows your current rank. (sm_rank alias)"); + RegConsoleCmd("sm_top", Command_Top, "Shows the top players menu."); + RegConsoleCmd("sm_ptop", Command_Top, "Shows the top players menu. (sm_top alias)"); - // admin commands - RegAdminCmd("sm_setpoints", Command_SetPoints, ADMFLAG_ROOT, "Set points for a defined ideal time. sm_setpoints