16.07.2011, 11:07
I need to know how i can detect a animation.
thanks
thanks
if(!strcmp(cmdtext, "/myanimation", true))
{
new animlib[32];
new animname[32];
new str[128];
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
format(str, 128, "Your animation: %s %s", animlib, animname);
SendClientMessage(playerid, 0xFFFFFFFF, str);
}