04.02.2013, 09:22
+1
Some of our maps looks magnificent with the extended stream and view distance, awesome.
I had one problem though, I might be doing it wrong:
The next param is Virtual World, but when I add the defined world ID, it gives an error:
Code used, before 0.3x update:
The error happens when I use VIRTUAL_WORLD_WAIT as the virtual world setting.
Some of our maps looks magnificent with the extended stream and view distance, awesome.
I had one problem though, I might be doing it wrong:
Код:
new objectid = CreateDynamicObjectEx(OBJECT_Model[i], OBJECT_PosX[i], OBJECT_PosY[i], OBJECT_PosZ[i], OBJECT_PosRX[i], OBJECT_PosRY[i], OBJECT_PosRZ[i], viewdistance, streamdistance);
Код:
argument type mismatch (argument 10)
Код:
new objectid = CreateDynamicObject(OBJECT_Model[i], OBJECT_PosX[i], OBJECT_PosY[i], OBJECT_PosZ[i], OBJECT_PosRX[i], OBJECT_PosRY[i], OBJECT_PosRZ[i], VIRTUAL_WORLD_WAIT);