SetObjectMaterial 0.3x
#1





why the distance from SetObjectMaterial is so low. Its only with objects with SetObjectMaterial.

Код:
new BSNDach_ba = CreateObject(19377, 1187.8120, -915.9030, 48.2323, 0.0000, 90.0000, 8.2000, 200.0);
	SetObjectMaterial(BSNDach_ba, 0, 19362, "all_walls", "la_carp3", 0xFF424242);
Reply
#2

Objects with a large draw distance (more than 300), or objects with custom material changes, don't support fading in/out anymore (it was causing problems). Objects would normally start fading in well before the draw distance was met.

The solution is just to increase the draw distance to a point where your players will never really notice it. Maybe future versions of SA-MP will support the fading again on these objects, if the problems can be resolved.
Reply
#3

Quote:
Originally Posted by piohh
Посмотреть сообщение




why the distance from SetObjectMaterial is so low. Its only with objects with SetObjectMaterial.

Код:
new BSNDach_ba = CreateObject(19377, 1187.8120, -915.9030, 48.2323, 0.0000, 90.0000, 8.2000, 200.0);
	SetObjectMaterial(BSNDach_ba, 0, 19362, "all_walls", "la_carp3", 0xFF424242);
Same here piohh, I'm using incognito's streamer plugin to stream the entire north (desert part) of the map as grass..

It all appears just as you get to it with a draw distance setting of 800.00, I've tried lower and higher values.. it's exactly the same and appears at the same time.

<EDIT>
Example Video(poor quality): [ame]http://www.youtube.com/watch?v=HtBZYihbHXs[/ame]

I don't actually use it anymore because of this, which is a bit of a shame..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)