This include will help you with map optimization along with streamer plugin.
Simply install to your project:
sampctl package install algorhitmically/optidraw
Include in your code and begin using the library:
#include <optidraw>
These are optimization methods that you can choose to define before including optidraw:
• METHOD_BOX
• METHOD_SPHERE
#define OD_METHOD your_method
• Choose optimization method. Example: #define OD_METHOD METHOD_BOX
• Streamer and ModelSizes will be included automatically!
• You can disable startup messages with: #define OD_DISABLE_STARTUP_MESSAGE
• You can disable static objects with: #define OD_DISABLE_STATIC_OBJECTS
To test, simply run the package:
sampctl package run