pub fn enable_tick_with(config: TickConfig)Expand description
Enables SampPlugin::on_tick with an explicit TickConfig.
Use this form to disable the tick on one server, or to choose a different Open Multiplayer timer interval.
ยงExample
// Tick every 50 ms on Open Multiplayer; rely on SA-MP's default cadence.
enable_tick_with(TickConfig::new().omp_interval(Duration::from_millis(50)));