Jump to content
  • 0
Grimmjow

@emotion @dance @detach/afk @hold @heart

Question

Hello, I would like to add @emotion @dance @detach/afk @.hold @heart these commands to your server but don't know how could You please help me in this?

Can a full guide to add these commands in atcommand.c ?

 

Thank You very much !!!

Edited by Jeagerjaques

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

not working your plugin's

 

working this src script

 

 

 

ACMD(dance){
    if (!message || !*message)
{
    clif->message(fd, "usage: @dance 1-9");
    return -1;
}
    if ( atoi(message) == 1 )
{
    clif->specialeffect(&sd->bl, 413, ALL_CLIENT);
    }
    else if ( atoi(message) == 2 )
    {
    clif->specialeffect(&sd->bl, 414, ALL_CLIENT);
    }
    else if ( atoi(message) == 3 )
    {
    clif->specialeffect(&sd->bl, 415, ALL_CLIENT);
    }
    else if ( atoi(message) == 4 )
    {
    clif->specialeffect(&sd->bl, 426, ALL_CLIENT);
    }
    else if ( atoi(message) == 5 )
    {
    clif->specialeffect(&sd->bl, 458, ALL_CLIENT);
    }
    else if ( atoi(message) == 6 )
    {
    clif->specialeffect(&sd->bl, 466, ALL_CLIENT);
    }
    else if ( atoi(message) == 7 )
    {
    clif->specialeffect(&sd->bl, 501, ALL_CLIENT);
    } else if ( atoi(message) == 8 )
    {
    clif->specialeffect(&sd->bl, 540, ALL_CLIENT);
    }
    else if ( atoi(message) == 9 )
    {
    clif->specialeffect(&sd->bl, 550, ALL_CLIENT);
    }
    else    {
    clif->message(fd, "usage: @dance 1-9");
    }
    return true;
} /* Server Startup */

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.