Closed Romz24 closed 7 years ago
There's no AttachPlayerObjectToActor, so AttachDynamicObjectToActor isn't possible without a special plugin (like YSF). (streamed objects are created internally with CreatePlayerObject) All DestroyAll and Count functions are deprecated, use Streamer_DestroyAllItems and Streamer_CountItems.
Yes, AttachDynamicAreaToActor could be made, but an actor can't move independently. You could change area's position when you change actor's position. I'm not sure if the position of an actor changes (GetActorPos) when a moving animation is applied to him.
"There's no AttachPlayerObjectToActor, so AttachDynamicObjectToActor isn't possible without a special plugin (like YSF)." - its impossible, even with ysf :D actors are actors, not players. There are no function in client which handles attaching objects to actors.
Actor not moving... Use CreateDynamicObject, CreateDynamicArea XD
DestroyAllDynamicActors();
CountDynamicActors();
and more here: http://forum.sa-mp.com/showthread.php?t=590918
I agree. AttachDynamicObjectToActor isn't possible and the others aren't needed.
Hello! Now when there is a streamer on the actors, I believe that this function is needed.
AttachDynamicAreaToActor AttachDynamicObjectToActor DestroyAllDynamicActor CountDynamicActor