OnPlayerDeath
#6

Quote:
Originally Posted by Wizz123
Посмотреть сообщение
pawn Код:
SetTimerEx("anim", 10000, false, "i", playerid);
ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0);
TogglePlayerControllable(playerid, 0);
Put this under the OnPlayerDeath function.
pawn Код:
forward anim(playerid);
public anim(playerid)
{
    ToggePlayerControllable(playerid, 1);
    ClearAnimations(playerid);
    return 1;
}
And this somewhere in your script.
Okay Thanks,But can you make it repeat the anim after like 3 seconds ?
Reply


Messages In This Thread
OnPlayerDeath - by Drago987 - 28.01.2014, 20:40
Re: OnPlayerDeath - by Vanter - 28.01.2014, 21:55
Re: OnPlayerDeath - by Drago987 - 28.01.2014, 22:05
Re: OnPlayerDeath - by Abagail - 28.01.2014, 22:07
Re: OnPlayerDeath - by Wizz123 - 28.01.2014, 22:19
Re: OnPlayerDeath - by Drago987 - 28.01.2014, 22:42
Re: OnPlayerDeath - by Vanter - 29.01.2014, 07:28
Re: OnPlayerDeath - by Drago987 - 29.01.2014, 10:35
Re: OnPlayerDeath - by Wizz123 - 29.01.2014, 13:42
Re: OnPlayerDeath - by Drago987 - 29.01.2014, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)