• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [Solved] Dynamic object stream distance
#1
SOLUTION:

(2021-05-05, 03:53 PM)AbyssMorgan Wrote: I recommend this:

Code:
public OnPlayerConnect(playerid){



Streamer_ToggleIdleUpdate(playerid,1);



return 1;

}

Can solve more problems with streaming.







Code:
new objid =?CreateDynamicObject(4002, -1474.1728, 918.9337, 49.2299, 0.0, 0.0, 90.0, -1, -1, -1, 700.0, 700.0, -1, 1);

SetDynamicObjectMaterial(objid, ...);



I changed the stream_distance and draw_distance of this object to 700.0, but it is still not appear from distant points.



Also, if my distance to this object is 100.0, It still not appear,?I have to go to this object more.



I removed the original building and rebuilt it, but added some materials to it.



What is the problem?



Edit:

Solved.



Solution:



Code:
public OnPlayerSpawn(playerid) {

? ? Streamer_Update(playerid);
  Reply
#2
I recommend this:

Code:
public OnPlayerConnect(playerid){

    

    Streamer_ToggleIdleUpdate(playerid,1);

    

    return 1;

}

Can solve more problems with streaming.
  Reply
#3
(2021-05-05, 03:53 PM)AbyssMorgan Wrote: I recommend this:

Code:
public OnPlayerConnect(playerid){



Streamer_ToggleIdleUpdate(playerid,1);



return 1;

}

Can solve more problems with streaming.



Thanks!
  Reply


Forum Jump: