14.03.2013, 04:25
It's not necessary to change from CreateDynamicObject to CreateDynamicObjectEx, as CreateDynamicObject ALSO uses the parameter for streamdistance, like so:
If you have no streamdistance parameter in your code AT ALL, example:
You need to make it fit all parameters. Like this:
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:
The streamer plugin thread should be of some use...
https://sampforum.blast.hk/showthread.php?tid=102865
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);
pawn Код:
CreateDynamicObject(1542, 67.5, 125.89, 100, 90, 90, 180);
pawn Код:
CreateDynamicObject(1542, 67.5, 125.89, 100, 90, 90, 180, -1, -1, -1, 200.0);
pawn Код:
CreateDynamicObject(1542, 67.5, 125.89, 100, 90, 90, 180, -1, -1, -1, 500.0);
https://sampforum.blast.hk/showthread.php?tid=102865