how to detect which animation i use?
#1

I need to know how i can detect a animation.

thanks
Reply
#2

It's not possible to get a player's animation. (or ?)
Reply
#3

Get your facts straight.
GetPlayerAnimationIndex and GetAnimationName.
Reply
#4

pawn Код:
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);
}
Reply
#5

i need to detect when he is using it, i mean in casino when he uses the casino thing he will be killed

can you make me a example, i don't really know how (
Reply
#6

nevermind i made meself
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)