SA-MP Forums Archive
[SAMP] Chunks - 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: [SAMP] Chunks (/showthread.php?tid=568825)



[SAMP] Chunks - NoDi522 - 25.03.2015

Hello..

Me and my frined have done some mapping and when we take a look from a little bigger distance and our objects doesn't load. Every other objects are loading far normally but idk why this is not

Any ideas?

http://i.imgur.com/yYjvJbT.jpg


Re: [SAMP] Chunks - bigboy81 - 25.03.2015

Set drawdistance of all object to 500.00 or 2000.00


Re: [SAMP] Chunks - CalvinC - 25.03.2015

Increase the draw distance on your code, or check if you have too many objects loaded.


Re: [SAMP] Chunks - NoDi522 - 25.03.2015

stream_distance 2000.0 you mean this in server.cfg?


Re: [SAMP] Chunks - CalvinC - 25.03.2015

No, in your code, here's the parameters:
Код:
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);



Re: [SAMP] Chunks - bigboy81 - 25.03.2015

Quote:
Originally Posted by NoDi522
Посмотреть сообщение
stream_distance 2000.0 you mean this in server.cfg?
Код:
CreateObject(970, 1156.73035, -1179.93994, 67.51650,   0.00000, 0.00000, -90.00000, 500.00);
this example
500.00 on end of variable is draw distance..


Re: [SAMP] Chunks - Dignity - 25.03.2015

Use CreateObject for bigger objects (streets, houses, etc) and use the streamer for smaller objects (lamp posts, red lights, trash cans, etc).