From bdab721c96827a35cf24e198e9d015be3037601b Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sun, 30 Oct 2011 11:59:00 +0200 Subject: [PATCH] Add the object_info object command, which will print all this information to the player asking for it --- qcsrc/server/mutators/sandbox.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 9e779eaec..630d55d4c 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -669,6 +669,9 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) tags = strcat(tags, "^5", gettaginfo_name, "^7, "); print_to(self, strcat("^2SANDBOX - INFO: ^7Object mesh is ^3", e.model, "^7 at animation frame ^3", ftos(e.frame), " ^7containing the following tags: ", tags)); return TRUE; + case "object": + print_to(self, strcat("^2SANDBOX - INFO: ^7Object is owned by ^7", e.netname, "^7, created ^3", e.message, "^7, last edited ^3", e.message2)); + return TRUE; } } print_to(self, "^1SANDBOX - WARNING: ^7No information could not be found. Make sure you are facing an object"); -- 2.39.2