gibt eben alle commands mit eventueller Data zurück, was die "engine" so liefert.
Besonders geeignet zum Testen.
Code:
#include <core>
#include <console>
#include <string>
#include <admin>
#include <adminlib>
public plugin_init() {
plugin_registerinfo("Command Check","What does plugin_command do?.","1.0");
return PLUGIN_CONTINUE;
}
public plugin_command(HLCommand, HLData, HLUserName, UserIndex){
new Command[MAX_COMMAND_LENGTH];
new Data[MAX_DATA_LENGTH];
new User[MAX_NAME_LENGTH];
new Text[MAX_TEXT_LENGTH];
convert_string(HLCommand,Command,MAX_COMMAND_LENGTH);
convert_string(HLData,Data,MAX_DATA_LENGTH);
convert_string(HLUserName,User,MAX_NAME_LENGTH);
snprintf(Text,MAX_TEXT_LENGTH,"Command:%s Data:%s User:%s",Command,Data,User);
say(Text);
return PLUGIN_CONTINUE;
}
_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die
Such-Funktion