Help with a camera system
#4

You can use ApplyAnimation. It has a 'loop' parameter, so you can alternatively freeze the player in an 'idle' animation. (They appear to be standing still, but they cannot move around and can still rotate the camera)
Код:
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
Something like this:
pawn Код:
ApplyAnimation(playerid, "ped", "IDLE_stance", 4.1, 1, 1, 1, 0, 0, 1);
Note, any form of ClearAnimations or any other animations may override this animation and allow the player to break the animation. Thus being able to move around again.
Reply


Messages In This Thread
Help with a camera system - by JimGorecky - 12.10.2015, 03:03
Re: Help with a camera system - by Kayla_Swade - 12.10.2015, 03:48
Re: Help with a camera system - by Kayla_Swade - 12.10.2015, 03:54
Re: Help with a camera system - by Threshold - 12.10.2015, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)