Incognito streamer error
#1

Hello,
i have a bug; objects only load when i'm like Really close.
Anyone know this bug, some idea on how to fix it?
Reply
#2

Quote:
Originally Posted by justjamie
Посмотреть сообщение
Hello,
i have a bug; objects only load when i'm like Really close.
Anyone know this bug, some idea on how to fix it?
It's no bug. Here's the CreateDynamicObject syntax:

pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance, Float:drawdistance);
Change streamdistance and drawdistance to your likings.

Streamdistance is the radiusin which the object will stream in for the player.
Drawdistance is the radius in which the player can see the object.
Reply
#3

Quote:
Originally Posted by introzen
Посмотреть сообщение
It's no bug. Here's the CreateDynamicObject syntax:

pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance, Float:drawdistance);
Change streamdistance and drawdistance to your likings.

Streamdistance is the radiusin which the object will stream in for the player.
Drawdistance is the radius in which the player can see the object.
The weird thing;
Sometimes it loads everything good, sometimes not.
??
Reply
#4

Quote:
Originally Posted by justjamie
Посмотреть сообщение
The weird thing;
Sometimes it loads everything good, sometimes not.
??
You're using CreateObject some where, be sure to change them all To CreateDynamicObject.
Reply
#5

Quote:
Originally Posted by jlalt
Посмотреть сообщение
You're using CreateObject some where, be sure to change them all To CreateDynamicObject.
Cant i use them both?
Reply
#6

Quote:
Originally Posted by justjamie
Посмотреть сообщение
Cant i use them both?
No, CreateObject are limited 1000 or 2000 idk how much it was xd, CreateDynamicObject will create the objects just when you're near them but CreateObject will keep them at thir positions so it will get slots from CreateDynamicObjects and let them load slower
Reply
#7

Search for every CreateObject and change it to CreateDynamic, be sure you just have CreateDynamicObjects, if you already did that then I run out of ideas :c
Reply
#8

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Search for every CreateObject and change it to CreateDynamic, be sure you just have CreateDynamicObjects, if you already did that then I run out of ideas :c
yea we did that :/
Reply
#9

Static objects (CreateObject) 1000.
Streamer objects don't have a precise limit, but nothing is infinite.

Regards.
Reply
#10

Quote:
Originally Posted by Harty
Посмотреть сообщение
Static objects (CreateObject) 1000.
Streamer objects don't have a precise limit, but nothing is infinite.

Regards.
Thanks, but this is the problem;
with 1 player, everything works fine.
With more players, every object bugs out and only loads when you are VERY close.
Someone have any idea on how to fix this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)