Move actors using animations
#2

Quote:
Originally Posted by sOflY
View Post
In SAMP 0.3.DL-R1, actors can move by using this animations:
Code:
ApplyActorAnimation(actorid, !"ped", !"WALK_drunk" ,4.1,1,1,1,0,0);
ApplyActorAnimation(actorid, !"ped", !"Crouch_Roll_L" , 4.1,1,1,1,0,0);
But they can move only by using
Code:
SetActorInvulnerable(actorid, 0);
Actors can move, but their coords don't change. I don't know how it does work, but it work)
Does it bug or feature?
Actors aren't meant to walk, so position changes not pushed (i.e: SetActorPos) won't be synced, your client is the only one who sees the actor moving. The server has no idea they're using an animation or that their position has changed, and actors may desync positions across clients (so different players may see them at a different place under certain conditions).
Reply


Messages In This Thread
Move actors using animations - by sOflY - 06.04.2018, 19:16
Re: Move actors using animations - by Abagail - 07.04.2018, 19:11
Re: Move actors using animations - by ATomas - 18.04.2018, 09:40
Re: Move actors using animations - by sOflY - 29.04.2018, 21:24
Re: Move actors using animations - by MarkNelson - 30.04.2018, 00:09

Forum Jump:


Users browsing this thread: 1 Guest(s)