SA-MP Forums Archive
Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) (/showthread.php?tid=522751)



Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - PawnOX - 29.06.2014

It cuts the half of the objects when im using the CreateDynamicObject, How can i fix it?

But when i go near to it, It streamed. But when im far it doesnt, Why??





Respuesta: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - Shura - 29.06.2014

The createdynamic is optimized, the createobject not just for that, you must update the streamer or accommodate createdynamic and distance of the cordinate.


Re: Respuesta: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - PawnOX - 29.06.2014

Quote:
Originally Posted by Shura
Посмотреть сообщение
The createdynamic is optimized, the createobject not just for that, you must update the streamer or accommodate createdynamic and distance of the cordinate.
My Streamer Plugin is the latest one

How can i adjust the stream distance? to MAX ?


Respuesta: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - Shura - 29.06.2014

https://sampwiki.blast.hk/wiki/YSI:Using_Objects


Re: Respuesta: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - PawnOX - 29.06.2014

Quote:
Originally Posted by Shura
Посмотреть сообщение
Could you please give the code?


Re: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - PawnOX - 29.06.2014

:3 -_-


Re: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - JessThompson - 29.06.2014

Use this native

Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
And mess around witth the stream distance and drawdistance


Re: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - PawnOX - 29.06.2014

Quote:
Originally Posted by JessThompson
Посмотреть сообщение
Use this native

Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
And mess around witth the stream distance and drawdistance
THANKS!

But where do i put it?


Re: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - JessThompson - 29.06.2014

This is the format of the objects you are creating. So you must make your objects have all the defines in the native


Re: Cutting the objects (( Streamer plugin )) (( PROBLEM )) (( +REP )) - JessThompson - 29.06.2014

so like

Код:
CreateDynamicObject(19377, 1840.29980469, -1721.59960938, 5201.50000000, 0.00000000, 90.00000000, 0.00000000,-1,-1,-1,300.0,0.0);

Look that object is using all the defines

CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Your objects may look like this
Код:
CreateDynamicObject(19377, 1840.29980469, -1721.59960938, 5201.50000000, 0.00000000, 90.00000000, 0.00000000);
Hope this helped you