Перейти к содержанию

@emo


Рекомендуемые сообщения

Здравствуйте!

При добавлении команды @emo всё работает но вместе с эмоциями выходит надпись @emo failed подскажите как исправить пожалуйста !

вот сам код


/*
=============================================
@emo
Converted by: samsudin
Original Made by: OnPlay
inspired by: Anarchist
================================================
v1.0 Initial Release
Displays the emotions without delay
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../common/HPMi.h"
#include "../map/clif.h"
#include "../map/atcommand.h"
#include "../map/script.h"
#include "../map/pc.h"
#include "../common/HPMDataCheck.h"
HPExport struct hplugin_info pinfo =
{
"@emo", // 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)
};
/*==========================================
* @emo by OnNplay
* inspired by Anarchist
* => Displays the emotions without delay
*------------------------------------------
*/
ACMD(emo){
if (!message || !*message) {
clif->message(fd, "usage: @emo 1-81");
return -1;
}
clif->emotion(&sd->bl, atoi(message));
return 0;
}
/* Server Startup */
HPExport void plugin_init (void)
{
addAtcommand("emo",emo);
}

Ссылка на комментарий
Поделиться на другие сайты

×
×
  • Создать...
Яндекс.Метрика