Skip to main content

omp_core

Function omp_core 

Source
pub fn omp_core() -> Option<*mut ICore>
Expand description

Returns the Open Multiplayer server’s ICore* pointer received in on_load.

Available only in native Open Multiplayer mode (without the samp-only feature). Returns None if the plugin was loaded via SA-MP or if on_load has not been called yet.