Hiya, I'm hoping someone can help me with this - I have a plugin that allows players to join a queue for the patrol helicopter, what I want to do now is cancel the heli if certain conditions aren't met. I can write the conditions but how do I cancel the actual spawn?
void OnEntitySpawned(BaseHelicopter heli) {
if (heli != null && heli is BaseHelicopter) {
if (conditions) {
// cancel spawn
}
}
}