Object draw distance
#1

Hi,

How to Make object draw distance 500, 800? dynamic object
Reply
#2

Add this to the include

PHP код:
#if !defined STREAMER_DEFAULT_OBJECT_STREAMDISTANCE
    #define STREAMER_DEFAULT_OBJECT_STREAMDISTANCE 300.0
#endif
#if !defined STREAMER_DEFAULT_OBJECT_DRAWDISTANCE
    #define STREAMER_DEFAULT_OBJECT_DRAWDISTANCE 0.0
#endif
native STREAMER_TAG_OBJECT CreateDynamicObject( ... , Float:streamdistance STREAMER_DEFAULT_OBJECT_STREAMDISTANCEFloat:drawdistance STREAMER_DEFAULT_OBJECT_DRAWDISTANCE);
// for CreateDynamicObjectEx too 
Change the value to what you want.
Reply
#3

Thanks. How with createobject ?
Reply
#4

Quote:
Originally Posted by MerryDeer
Посмотреть сообщение
Thanks. How with createobject ?
CreateObject is easily turned into CreateDynamicObject(Ex) and if you're using Streamer, it's probably recommended.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)