23.01.2013, 16:17
Try this:
And the timer:
pawn Код:
forward _ApplyAnimation(playerid, Anim[], Animname[], Float:spd, loop, lockx, locky, freeze, time, forcesync);
public _ApplyAnimation(playerid, Anim[], Animname[], Float:spd, loop, lockx, locky, freeze, time, forcesync)
{
ApplyAnimation(playerid, Anim, Animname, spd, loop, lockx, locky, freeze, time, forcesync);
}
pawn Код:
SetTimerEx("_ApplyAnimation", 500, false, "issfiiiiii", playerid, "DANCING", "dnce_M_b", 4.000000, 0, 0, 0, 1, 0, 1);