diff --git a/plugins/adminslots.sma b/plugins/adminslots.sma index 69a9342c..f22b5bc0 100755 --- a/plugins/adminslots.sma +++ b/plugins/adminslots.sma @@ -86,7 +86,7 @@ public plugin_init() public plugin_cfg() { /* Get configured number of reserved slots */ - gReservedSlots = get_cvar_num("amx_reservedslots") + gReservedSlots = get_cvar_num("amx_reservation") /* The maximum number of players after reserved slot(s) */ gPlayerLimit = get_maxplayers() - gReservedSlots @@ -119,4 +119,4 @@ public client_authorized(id) } return PLUGIN_CONTINUE -} +} \ No newline at end of file