I have 2 customs commands. When I user types @commands. this commands dont show up in the list.
So I made a plugin but I am not sure if I made it in the right way.
#include "common/hercules.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "../map/clif.h"#include "../common/HPMi.h"#include "../common/HPMDataCheck.h" // should always be the last file included! (if you don't make it last, it'll intentionally break compile time)HPExport struct hplugin_info pinfo = { "customc", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "0.1", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};ACMD(checklvl) { return true;}ACMD(security) { return true;}HPExport void plugin_init (void) { addAtcommand("checklvl",checklvl); addAtcommand("security",security);}
And also do I have to edit my group.conf and add them?
Hello there.
I have 2 customs commands. When I user types @commands. this commands dont show up in the list.
So I made a plugin but I am not sure if I made it in the right way.
And also do I have to edit my group.conf and add them?
Thank you.
Share this post
Link to post
Share on other sites