mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
fixed compiling error (by FireStorm)
This commit is contained in:
parent
7aa31c764d
commit
c1f2a499f8
@ -50,10 +50,13 @@ public plugin_init() {
|
|||||||
random_num('A','Z') , random_num('A','Z') ,random_num('A','Z'),random_num('A','Z') )
|
random_num('A','Z') , random_num('A','Z') ,random_num('A','Z'),random_num('A','Z') )
|
||||||
|
|
||||||
register_clcmd( g_cmdLoopback, "ackSignal" )
|
register_clcmd( g_cmdLoopback, "ackSignal" )
|
||||||
|
|
||||||
|
#if defined HIDE_RESERVED_SLOTS
|
||||||
new maxplayers = get_maxplayers()
|
new maxplayers = get_maxplayers()
|
||||||
new players = get_playersnum(1)
|
new players = get_playersnum(1)
|
||||||
new limit = maxplayers - get_cvar_num("amx_reservation")
|
new limit = maxplayers - get_cvar_num("amx_reservation")
|
||||||
setVisibleSlots(players, maxplayers, limit)
|
setVisibleSlots(players, maxplayers, limit)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
public ackSignal(id) {
|
public ackSignal(id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user