Added periods after function comments, moved market handler code to markethandler.inc, made restrictions announced to the server

This commit is contained in:
Greyscale committed 2009-04-10 01:08:51 +02:00
1 parent 1e99bd64f3
commit d220eeee77
7 files changed
+132 -378

No files matched your search

+4 -4
View File
@@ -160,14 +160,14 @@ public Action:Command_Restrict(client, argc)
{
case Successful_Weapon:
{
ZR_ReplyToCommand(client, "Restrict weapon", arg1);
ZR_PrintToChat(0, "Restrict weapon", arg1);
}
case Successful_Group:
{
decl String:weaponlist[128];
WeaponRestrictGetWeaponList(arg1, weaponlist, sizeof(weaponlist), ", ");
ZR_ReplyToCommand(client, "Restrict custom weapon group", arg1, weaponlist);
ZR_PrintToChat(0, "Restrict custom weapon group", arg1, weaponlist);
}
case Invalid:
{
@@ -217,14 +217,14 @@ public Action:Command_Unrestrict(client, argc)
{
case Successful_Weapon:
{
ZR_ReplyToCommand(client, "Unrestrict weapon", arg1);
ZR_PrintToChat(0, "Unrestrict weapon", arg1);
}
case Successful_Group:
{
decl String:weaponlist[128];
WeaponRestrictGetWeaponList(arg1, weaponlist, sizeof(weaponlist), ", ");
ZR_ReplyToCommand(client, "Unrestrict custom weapon group", arg1, weaponlist);
ZR_PrintToChat(0, "Unrestrict custom weapon group", arg1, weaponlist);
}
case Invalid:
{