#1

instead of showing the UsageMessage, the command returns 0. I've never done multiple strings in one command before

pawn Код:
CMD:anim(playerid, params[])
{
    new lib[100], anim[100];
    if(sscanf(params, "s[100]s[100]", lib, anim)) return UsageMessage(pid, "/anim [library][anim]");
    ApplyAnimation(playerid, lib, anim, 4.1, 1, 1, 1, 1, 1, 1);
    return 1;
}
its to test animations btw
Reply


Messages In This Thread
anim - by Mattakil - 30.11.2013, 18:36
Re: anim - by Danialdano - 30.11.2013, 18:41
Re: anim - by Mattakil - 30.11.2013, 18:45
Re: anim - by Konstantinos - 30.11.2013, 19:02
Re: anim - by Mattakil - 30.11.2013, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)