Показывает эмоции без задержки. Номера: 1-63
src\map\atcommand.c
Вставляем:
Код:
ACMD_FUNC(emotion); // Anarchist
Код:
{ AtCommand_Emotion, * * *"@emotion", * * *1, atcommand_emotion }, // Anarchist
Код:
/*==========================================
* @emotion X by Anarchist
* => Displays the emotions without delay
*------------------------------------------
*/
int atcommand_emotion(
* *const int fd, struct map_session_data* sd,
* *const char* command, const char* message)
{
* *if (!message || !*message) {
*clif_displaymessage(fd, "usage: @emotion 1-63");
*return -1;
* *}
* *clif_emotion(&sd->bl, atoi(message));
* *return 0;
}
В старых сборках ещё добавить:
src\map\atcommand.h
Код:
AtCommand_Emotion, // Anarchist
src\map\atcommand.c
Вставляем:
Код:
ACMD_FUNC(emotion); // Anarchist
Код:
{ AtCommand_Emotion, * * *"@emotion", * * *1, atcommand_emotion }, // Anarchist
Код:
/*==========================================
* @emotion X by Anarchist
* => Displays the emotions without delay
*------------------------------------------
*/
int atcommand_emotion(
* *const int fd, struct map_session_data* sd,
* *const char* command, const char* message)
{
* *if (!message || !*message) {
*clif_displaymessage(fd, "usage: @emotion 1-63");
*return -1;
* *}
* *clif_emotion(&sd->bl, atoi(message));
* *return 0;
}
В старых сборках ещё добавить:
src\map\atcommand.h
Код:
AtCommand_Emotion, // Anarchist