Quote:
Originally Posted by BossArturKA
Problem in synchronization of the "actor" <=> "player".
If to cause "ApplyActorAnimation" near "Actor" - everything works.
PHP код:
cmd:test(playerid, params[]){
ApplyActorAnimation(MyActor, "DEALER", "Dealer_idle", 4.1, 1, 0, 0, 0, 0);
return 1;
}
|
The problem regarding actors is well known. They sometimes sync away from the objects, sometimes don't get their anim applied etc. What you can do is set a timer of 2-3 mins to respawn all actors and re-apply animation or simply run a 60 sec timer to re-apply animations on them, that way they will re-sync if there is someone near them every 60 sec.
Quote:
Originally Posted by Vince
Does ApplyAnimation accept packed strings? Don't they need to be unpacked, first?
|
Yeah you can do it with packed strings.