01.09.2013, 18:55
There are two ways to this actually, and indeed the parameter you need is drawdistance and not stream distance.
1.) Use CreateDyanmicObjectEx() it has a a drawdistance parameter
2.) Use Streamer_SetFloatData() example.
1.) Use CreateDyanmicObjectEx() it has a a drawdistance parameter
2.) Use Streamer_SetFloatData() example.
pawn Код:
new ObjectID = CreateDynamicObject(19378,1724.5200000,-1765.3600000,17.6300000,0.0000000,0.0000000,88.2000000);
Streamer_SetFloatData(STREAMER_TYPE_OBJECT, ObjectID, E_STREAMER_DRAW_DISTANCE, 300.0);