Incognito streamer error -
justjamie - 03.04.2016
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?
Re: Incognito streamer error -
introzen - 03.04.2016
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.
Re: Incognito streamer error -
justjamie - 03.04.2016
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.
??
Re: Incognito streamer error -
jlalt - 03.04.2016
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.
Re: Incognito streamer error -
justjamie - 03.04.2016
Quote:
Originally Posted by jlalt
You're using CreateObject some where, be sure to change them all To CreateDynamicObject.
|
Cant i use them both?
Re: Incognito streamer error -
jlalt - 03.04.2016
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
Re: Incognito streamer error -
jlalt - 03.04.2016
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
Re: Incognito streamer error -
justjamie - 03.04.2016
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 :/
Re: Incognito streamer error -
Harty - 03.04.2016
Static objects (CreateObject) 1000.
Streamer objects don't have a precise limit, but nothing is infinite.
Regards.
Re: Incognito streamer error -
justjamie - 04.04.2016
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?