Posts: 19
Threads: 5
Joined: Nov 2014
Reputation:
0
Yes, and I thought, why not the right degree for dynamic creation. So this is a bug
Posts: 1,276
Threads: 6
Joined: Aug 2014
PHP код:
SetActorFacingAngleEx(actorid, actormodel, Float:Angle)
{
new Float:x, Float:y, Float:z;
GetActorPos(actorid, x, y, z);
DestroyActor(actorid);
actorid = CreateActor(actormodel, x, y, z, Angle);
}
Not sure if it works, but worth a try.
Posts: 3,324
Threads: 96
Joined: Sep 2013
1. Don't use J's function. It won't save properties such as anims.
2. Use Gammix's include.
3. Recreating is the only fix, actors will not restream instantly so you're stuck there unless you lower update rates.