]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add commented out template for new gamecommand functions
authorSamual <samual@xonotic.org>
Sun, 6 Nov 2011 17:40:17 +0000 (12:40 -0500)
committerSamual <samual@xonotic.org>
Sun, 6 Nov 2011 17:40:17 +0000 (12:40 -0500)
qcsrc/server/gamecommand.qc

index afb8af6da050da345080eab62619e3cf55a72a4b..c0dd934fad14e23b196ad2f2c657ad3c04bfca7c 100644 (file)
@@ -1964,6 +1964,34 @@ void GameCommand_warp(float request, float argc)
        }
 }
 
+/*
+void GameCommand_(float request)
+{
+       switch(request)
+       {
+               case GC_REQUEST_HELP:
+               {
+                       sprint(self, "  ^2blah^7: foobar\n");
+                       return;
+               }
+                       
+               case GC_REQUEST_COMMAND:
+               {
+                       
+                       return;
+               }
+                       
+               default:
+               case GC_REQUEST_USAGE:
+               {
+                       sprint(self, "\nUsage:^3 cmd \n");
+                       sprint(self, "  No arguments required.\n");
+                       return;
+               }
+       }
+}
+*/
+
 
 // ===========================
 //  Macro system for commands