13.06.2013, 00:30
Hello.
I've been making a Death System recently and it should make you do a Animation to stay on the ground using this timer.
It's clearing the Animation after a few seconds and makes you stand up when you're supposed to stay on the ground until revived or the timer is gone.
Of course i'm not going to paste the full coding of the Death System but at the Bottom i added.
You do the Animation, then somehow it clears the animation after the second
I've been making a Death System recently and it should make you do a Animation to stay on the ground using this timer.
It's clearing the Animation after a few seconds and makes you stand up when you're supposed to stay on the ground until revived or the timer is gone.
pawn Код:
timer DeathFall[800](playerid)
{
stop InjuredFall[playerid];
TogglePlayerControllable(playerid, 0);
ApplyAnimation(playerid,"PED","KO_skid_front",4.0,0,1,1,1,0);
return 1;
}
pawn Код:
InjuredFall[playerid] = defer DeathFall(playerid);