03.01.2015, 21:11
Could anybody explain me, why the object is showing up, when I am in a different distance (closer) than I have specified in my code?
~188 meters away from object.
![](http://i.imgur.com/P5bpGcz.png)
~187 meters away from object.
![](http://i.imgur.com/VuJRy11.png)
Map is being loaded in OnGameModeInit from *.txt files (I have set stream and draw distances to 2000, just to make sure it's going to pop up, but it doesn't):
Specified object in *.txt file:
~188 meters away from object.
![](http://i.imgur.com/P5bpGcz.png)
~187 meters away from object.
![](http://i.imgur.com/VuJRy11.png)
Map is being loaded in OnGameModeInit from *.txt files (I have set stream and draw distances to 2000, just to make sure it's going to pop up, but it doesn't):
pawn Код:
CreateDynamicObject(modelid, fPos[0], fPos[1], fPos[2], fRot[0], fRot[1], fRot[2], VIRTUAL_DEFAULT, 0, -1, 2000.0, 2000.0);
Код:
CreateDynamicObject(11439, 2603.85693, -1932.16260, 4.26190, 0.00000, 0.00000, -90.12000);