SA-MP Forums Archive
ApplyAnimations problem - 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: ApplyAnimations problem (/showthread.php?tid=604478)



ApplyAnimations problem - radiobizza - 05.04.2016

Hi. On my server, when you need to register your account you are teleported to an interior.
And on that interior I have some chairs. On one chair i want to apply an annimation but It doesn't work. Why ?
code:
PHP код:
                ClearAnimations(playerid);
                
PreloadAnimLib(playerid,"PED" );
                
ApplyAnimation(playerid,"PED","SEAT_idle"4.0000001);
                
ApplyAnimation(playerid,"PED","SEAT_idle"4.0000001);
                
ApplyAnimation(playerid,"PED","SEAT_idle"4.0000001);
                
ApplyAnimation(playerid,"PED","SEAT_idle"4.0000001);
                
SetPlayerCameraPos(playerid758.7686, -2214.501266.8262);
                
SetPlayerCameraLookAt(playerid758.5070, -2215.471266.4013);
                
TogglePlayerControllable(playerid0); 



Re: ApplyAnimations problem - Runn3R - 05.04.2016

ApplyAnimation(playerid, "PED", "SEAT_idle", 4.0, 1, 0, 0, 0, 0);