02.08.2013, 17:39
If swim dive under is anim then use it to check
if(GetPlayerAnimationIndex(playerid))
{
new animlib[32];
new animname[32];
GetAnimationName(GetPlayerAnimationIndex(playerid) ,animlib,32,animname,32);
if(!strcmp(animname, "swim dive under", true)){
if(GetPlayerAnimationIndex(playerid))
{
new animlib[32];
new animname[32];
GetAnimationName(GetPlayerAnimationIndex(playerid) ,animlib,32,animname,32);
if(!strcmp(animname, "swim dive under", true)){