mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed amx_restrict off and related cmds not working as they should (jtp10181)
This commit is contained in:
parent
5c5ca9251e
commit
3324d65f3f
@ -359,7 +359,9 @@ switchCommand(id, action)
|
|||||||
|
|
||||||
if (c < 3)
|
if (c < 3)
|
||||||
{
|
{
|
||||||
setc(g_blockPos, 112, action)
|
for (new x = 0; x < MAXMENUPOS; x++)
|
||||||
|
setWeapon(x, action)
|
||||||
|
|
||||||
console_print(id, "%L", id, action ? "EQ_WE_RES" : "EQ_WE_UNRES")
|
console_print(id, "%L", id, action ? "EQ_WE_RES" : "EQ_WE_UNRES")
|
||||||
g_Modified = true
|
g_Modified = true
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user