SA-MP Forums Archive
Objects not loading until up close? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Objects not loading until up close? (/showthread.php?tid=575424)



Objects not loading until up close? - jremi - 26.05.2015

http://imgur.com/K1NRQ6g

Anyone know how to fix this?


Re: Objects not loading until up close? - Konstantinos - 26.05.2015

If using streamer plugin, set drawdistance to 200.0


Re: Objects not loading until up close? - jremi - 26.05.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If using streamer plugin, set drawdistance to 200.0
Inside the Pwn of the GM?


Re: Objects not loading until up close? - Dredd - 26.05.2015

Change the parameter of "Stream Distance" to a higher value.
https://sampwiki.blast.hk/wiki/CreateObject
Код:
modelid	The model to create.
Float:X	The X coordinate to create the object at.
Float:Y	The Y coordinate to create the object at.
Float:Z	The Z coordinate to create the object at.
Float:rX	The X rotation of the object.
Float:rY	The Y rotation of the object.
Float:rZ	The Z rotation of the object.
Float:DrawDistance	(optional) The distance that San Andreas renders objects at. 0.0 will cause objects to render at their default distances. Usable since 0.3b. Limited to 300 prior to 0.3x.



Re: Objects not loading until up close? - jremi - 26.05.2015

Quote:
Originally Posted by Dredd
Посмотреть сообщение
Change the parameter of "Stream Distance" to a higher value.
https://sampwiki.blast.hk/wiki/CreateObject
Код:
modelid	The model to create.
Float:X	The X coordinate to create the object at.
Float:Y	The Y coordinate to create the object at.
Float:Z	The Z coordinate to create the object at.
Float:rX	The X rotation of the object.
Float:rY	The Y rotation of the object.
Float:rZ	The Z rotation of the object.
Float:DrawDistance	(optional) The distance that San Andreas renders objects at. 0.0 will cause objects to render at their default distances. Usable since 0.3b. Limited to 300 prior to 0.3x.
Where do I find the parameter?

It's also happening in EVERY gamemode..


Re: Objects not loading until up close? - Dredd - 26.05.2015

It's an optional parameter, just add it after the Z rotation of the object.

Example (Code without Draw Distance parameter):
Код:
CreateObject(16093, 211.64844, 1810.15625, 20.73438,   356.85840, 0.00000, 3.14159);
Example (Code with Draw Distance parameter):
Код:
CreateObject(16093, 211.64844, 1810.15625, 20.73438,   356.85840, 0.00000, 3.14159, 200);



Re: Objects not loading until up close? - jremi - 26.05.2015

Quote:
Originally Posted by Dredd
Посмотреть сообщение
It's an optional parameter, just add it after the Z rotation of the object.

Example (Code without Draw Distance parameter):
Код:
CreateObject(16093, 211.64844, 1810.15625, 20.73438,   356.85840, 0.00000, 3.14159);
Example (Code with Draw Distance parameter):
Код:
CreateObject(16093, 211.64844, 1810.15625, 20.73438,   356.85840, 0.00000, 3.14159, 200);
Yeah but this wouldn't happen with EVERY game mode just cause it's in the script?


Re: Objects not loading until up close? - jremi - 26.05.2015

Is it maybe because the GM may not be loading the plugin?


Re: Objects not loading until up close? - jremi - 27.05.2015

Fixed it.. For anyone having this issue, install a memory fix.