samp.directory
← Scripts and libraries

algorhitmically/optidraw

SA-MP include, addon for streamer.

Library★ 9updated Dec 2020OtherPawnsampctl
Open on GitHub

Install with sampctl

sampctl package install algorhitmically/optidraw

Run this in your project folder. sampctl downloads the package and what it depends on.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

Used by 1 package

README.md

samp-optidraw

This include will help you with map optimization along with streamer plugin.

Installation

Simply install to your project:

sampctl package install algorhitmically/optidraw

Include in your code and begin using the library:

#include <optidraw>

Usage

Methods

These are optimization methods that you can choose to define before including optidraw:

• METHOD_BOX
• METHOD_SPHERE

#define OD_METHOD your_method

Tips

• 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

Testing

To test, simply run the package:

sampctl package run

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

algorhitmically/optidraw: SA-MP Library | samp.directory