SA-MP Forums Archive
Stopanim - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Stopanim (/showthread.php?tid=595691)



Stopanim - IzadorO - 06.12.2015

EDIT: Nevermind, figured it out.


Re: Stopanim - PaulDinam - 06.12.2015

Works fine for me.

pawn Код:
ClearAnims(playerid, forcesync = 0)
{
    if(IsPlayerInAnyVehicle(playerid)) return ApplyAnimation(playerid,"PED","CAR_SIT",4.0,0,0,0,0,0,forcesync);
    return ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.1, 0, 0, 0, 0, 0);
}