Weapons module added, still needs better validations
This commit is contained in:
@ -169,6 +169,12 @@ public Action:Command_Restrict(client, argc)
|
||||
|
||||
ZR_PrintToChat(0, "Restrict custom weapon group", arg1, weaponlist);
|
||||
}
|
||||
case Failed_Weapon:
|
||||
{
|
||||
ZR_ReplyToCommand(client, "Restrict weapon failed", arg1);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
case Invalid:
|
||||
{
|
||||
ZR_ReplyToCommand(client, "Weapon invalid", arg1);
|
||||
@ -226,6 +232,12 @@ public Action:Command_Unrestrict(client, argc)
|
||||
|
||||
ZR_PrintToChat(0, "Unrestrict custom weapon group", arg1, weaponlist);
|
||||
}
|
||||
case Failed_Weapon:
|
||||
{
|
||||
ZR_ReplyToCommand(client, "Unrestrict weapon failed", arg1);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
case Invalid:
|
||||
{
|
||||
ZR_ReplyToCommand(client, "Weapon invalid", arg1);
|
||||
|
Reference in New Issue
Block a user