Digital Paint Discussion Board
Development => Bugs, Feature Requests, and Feedback => Official Feature Votes => Topic started by: jitspoe on January 05, 2008, 11:38:38 PM
-
Sometimes it's useful, when executing commands from a GUI, for example, to have the response come up in a dialog message box instead of being displayed at the console.
http://dplogin.com/dplogin/featurevote/feature.php?id=10027
-
what sort of GUI commands are you talking about?
-
Oh this sounds nice, perhaps you could even have the option to use a built in command like MessageBox "Title" "Hello World" or making them with a script.
-
what sort of GUI commands are you talking about?
Things like the remote admin menu.
Some examples:
safe_cprintf(ent, PRINT_DIALOG, "You must be an OP to use this command.\n");
safe_cprintf(self, PRINT_DIALOG, "You are already on this team!\n");
safe_cprintf(self, PRINT_DIALOG, "Invalid team\n");
safe_cprintf(ent, PRINT_DIALOG, "Server does not have this map (%s).\n", mapname);
-
ah ok. +1 for making things a little more polished. :)
-
Things like the remote admin menu.
Some examples:
safe_cprintf(ent, PRINT_DIALOG, "You must be an OP to use this command.\n");
safe_cprintf(self, PRINT_DIALOG, "You are already on this team!\n");
safe_cprintf(self, PRINT_DIALOG, "Invalid team\n");
safe_cprintf(ent, PRINT_DIALOG, "Server does not have this map (%s).\n", mapname);
Hm, I thought you were going to add like a console command.
-
With this, besides making some of the messages in dialogs, I think some of them need to be rewritten to be more informative.