Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define IsPlayerRunningAnyAnimation(%0) (GetPlayerAnimationIndex(%0)==1129||GetPlayerAnimationIndex(%0)==1133||GetPlayerAnimationIndex(%0)==1156||GetPlayerAnimationIndex(%0)==1189)
- stock IsPlayerRunningAnimation(playerid, checkLib[], checkName[])
- {
- new animlib[32];
- new animname[32];
- GetAnimationName(GetPlayerAnimationIndex(playerid), animlib, sizeof(animlib), animname, sizeof(animname));
- return !strcmp(animlib, checkLib, true) && !strcmp(animname, checkName, true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement