Hello. I'm using this plugin and I'm trying to disable all plugins except core plugins while map doesn't have any mapzones.
Code:
public OnMapZonesLoaded()
{
// If map has no start and end.
if(Timer_GetMapzoneCount(ZtStart) == 0 && Timer_GetMapzoneCount(ZtEnd) == 0) {
SetFailState("MapZones start and end points not found! Disabling!");
}
}
I managed to do something like this, but it's not perfect way of doing it. Is there any way to disable it without SetFailState?
__________________