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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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