objects
#1

if anyone knows how to create objects that we see from a distance, not like now that we show up when I come with them....because I had a lot of objects all of them deployed in 4 FilterScripts ... it has accelerated the appearance but still slow...and on many servers there are more objects, and all are seen immediately, and not like me to appear when I come with them

sorry for my bad English i am from Bosnia


Reply
#2

which object streamer are you using......?
Reply
#3

Quote:
Originally Posted by Danyal
Посмотреть сообщение
which object streamer are you using......?
He doesn't use a streamer, that's what he's telling you.

You have to use a streamer to have more than 500 objects in your server. I would recommend this one:

https://sampforum.blast.hk/showthread.php?tid=102865
Reply
#4

what about more than 5 thousand??
Reply
#5

I have currently 8,000+ objects and all work fine with Incognito's Streamer
Reply
#6

i use SA-MP Streamer Plugin v2.5.2
Reply
#7

so u use Igconnito's streamer then there is a native in createDynamicObject to set the draw distance
Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);
the Underlined and bold bit is the draw distance set that on ur objects to how far u want them
Reply
#8

Quote:
Originally Posted by Brka
Посмотреть сообщение
i use SA-MP Streamer Plugin v2.5.2
This Streamer belongs to Incognito.
Reply
#9

my code when adding objects like this:

CreateDynamicObject(19054, 1210.300048, -928.400024, 42.599998, 0, 0, 0)

This is just an example
Reply
#10

It should be like this.
pawn Код:
public OnGameModeInit()
{
    CreateDynamicObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);
    return 1;
}
Note:
Float: DrawDistance (optional) The distance that San Andreas renders objects. 0.0 will cause objects to render at their default distances. 300.0 is the usable maximum. Usable since 0.3b.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)