Moin.
Ich setze in meinem Tazerscript derzeit zwei Timer -
TazerTimer = SetTimerEx("TazerTimer1",50,1,"u",pID);
cufftimer=SetTimerEx("cufftimerp",8500,0,"u",pID);
public TazerTimer1(playerid)
{
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4, 1, 1, 0, 8000, 1);
}
public cufftimerp(playerid)
{
CuffAble[playerid] = 0;
ClearAnimations(playerid);
TogglePlayerControllable(playerid,1);
KillTimer(cufftimer);
KillTimer(TazerTimer);
}
So, nun ist das Problem das die Animation leider nicht abbricht.
Sprich ich möchte statt ClearAnimations einfach ApplyAnimation nutzen und die Animation einfach "normal" setzen.
Also so wie man normal rumrennt.
Weiss jemand welche Animation dafür geeignet ist ?
//edit: Script verändert