Objects problem
#5

It's not necessary to change from CreateDynamicObject to CreateDynamicObjectEx, as CreateDynamicObject ALSO uses the parameter for streamdistance, like so:
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);
If you have no streamdistance parameter in your code AT ALL, example:
pawn Код:
CreateDynamicObject(1542, 67.5, 125.89, 100, 90, 90, 180);
You need to make it fit all parameters. Like this:
pawn Код:
CreateDynamicObject(1542, 67.5, 125.89, 100, 90, 90, 180, -1, -1, -1, 200.0);
NOTE: The value for the final parameter is 200.0 by default, if you want objects to stream from further away, increase this value to 400 or 500 for example. Which will become:
pawn Код:
CreateDynamicObject(1542, 67.5, 125.89, 100, 90, 90, 180, -1, -1, -1, 500.0);
The streamer plugin thread should be of some use...
https://sampforum.blast.hk/showthread.php?tid=102865
Reply


Messages In This Thread
Objects problem - by ZmaXy - 14.03.2013, 02:05
Re: Objects problem - by MP2 - 14.03.2013, 02:07
Re: Objects problem - by ZmaXy - 14.03.2013, 02:48
Re: Objects problem - by DaTa[X] - 14.03.2013, 03:24
Re: Objects problem - by Threshold - 14.03.2013, 04:25
Re: Objects problem - by ZmaXy - 14.03.2013, 15:23
Re: Objects problem - by ZmaXy - 14.03.2013, 18:08
Re: Objects problem - by ZmaXy - 15.03.2013, 01:28
Re: Objects problem - by ZmaXy - 15.03.2013, 22:32
Re: Objects problem - by Smikkeltoetje - 15.03.2013, 23:24

Forum Jump:


Users browsing this thread: 1 Guest(s)