24.07.2012, 16:14
Quote:
Originally Posted by GetPlayerAnimationIndex, SA-MP Wiki
0 if there is no animation applied
|
Switch it with this:
pawn Code:
case 1:
{
if(!IsPlayerInAnyVehicle(playerid))
{
if(GetPlayerAnimationIndex(playerid) == 0)
{
}
else
{
ApplyAnimation(playerid,"MISC", "Idle_Chat_02" ,4.0, 1, 1, 1, 1, 1);
SetTimerEx("StopTalkinga", strlen(text)*200, 0, "i", playerid);
}
}
}
(NOTICE: I could be wrong, quite sleepy right now )