CZ Bots will now follow restrictions
Fixed amb222 (rebuy could get around restrictions)
This commit is contained in:
parent
2f6bfca68e
commit
580e52bd2c
@ -623,6 +623,22 @@ public actionMenu(id, key)
|
|||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public CS_InternalCommand(id, const cmd[])
|
||||||
|
{
|
||||||
|
new a = 0
|
||||||
|
|
||||||
|
do
|
||||||
|
{
|
||||||
|
if (equali(g_Aliases[g_AliasBlock[a]], cmd) || equali(g_Aliases2[g_AliasBlock[a]], cmd))
|
||||||
|
{
|
||||||
|
client_print(id, print_center, "%s", g_Restricted)
|
||||||
|
return PLUGIN_HANDLED
|
||||||
|
}
|
||||||
|
} while (++a < g_AliasBlockNum)
|
||||||
|
|
||||||
|
return PLUGIN_CONTINUE
|
||||||
|
}
|
||||||
|
|
||||||
public client_command(id)
|
public client_command(id)
|
||||||
{
|
{
|
||||||
if (g_AliasBlockNum)
|
if (g_AliasBlockNum)
|
||||||
|
Loading…
Reference in New Issue
Block a user