Jump to content

Timers

Closed 1.2.1 1.2.2

Hi, how can I disable the timers and have the event called from another plugin that I have that controls my servers events?

Is there an API list I can see?

Cheers

Share this comment


Link to comment

Hey, you can use 

Console commands:

callcargoplane - force the event to start crashcargoplane - force the event to end

 

  • Like 1

Share this comment


Link to comment

Thanks, How can I disable the auto timers please?

Thanks for this plugin is very good.

Edited by Annunaki

Share this comment


Link to comment

I got my custom Event Controller plugin talking to your plugin quite easily, Can I suggest you add a isEnabled bool to totally disable the timers from firing at all, please? I don't really like the sound of increasing the timers (waste of CPU resource) if I don't need them running.

 

Either that or can I do it myself, please?

Thanks.

Share this comment


Link to comment

Thanks pal :), One last question, Is there not to be a loud explosion heard all over the map when the plane crashes and explodes? I can't hear any explosion sound at all.

 

Cheers again for your time here.

Share this comment


Link to comment

Yeah, it's definitely strange if I'm right near it, I can hear it extremely loud, but if I'm away from it and don't actually see the plane hit the deck I can't hear it, But I can her when C4 goes off from a fair distance away.

Edited by Annunaki

Share this comment


Link to comment

I'm also getting this error when I manually use command /callcargoplane and then immediately use /crashcargoplane from my admin account in game.

image.png.b72fd377973578ea68b2a257e401e8b5.png

Share this comment


Link to comment

Thanks pal, I appreciate all the effort you have gone through for this plugin, it's fantastic, I will be purchasing more soon 🙂

So to recap on my suggestions:

1, Implement a way to stop the auto event timers with a bool "IsEnabled" (Excellent for when server owners and plugin devs have other plugins which can call the event).
2, Implement a bool "HasCrashed" Broadcast message e.g "A Cargo Plane has just crashed at Grid reference <xx> and is protected by NPCs" (QOL Improvement).
3, Make the Plane Crash explosion heard Map Wide like C4 (Current you can only hear it if you actually see the Plane Crash and break up).

Share this comment


Link to comment

Hey Fruster,

Do you have any timeframe in which you can add the enable/disable timers setting, please?

Shouldn't take you more than 5–10 mins to mock something up. 😄

TIA

Share this comment


Link to comment

Excellent 🙂 Thanks very much for your support, The timer switch works well and as does the crashed message.

 

image.png.6bfe84cbefc98a610e507d603b8a1ee1.png

 

image.thumb.png.ffe47064c1ceaa17c4958b62ee3b6728.png

Edited by Annunaki

Share this comment


Link to comment

Ok, the timer error message in the screenshot is most likely related to the work of third-party plugins. With your permission, I will close this support ticket. Thanks for helping me improve my plugin

Share this comment


Link to comment

To eliminate that possibility, I spun up a server with just this plugin loaded and although it doesn't do it every time, it does randomly do it sometimes, and I can't find exactly what causes/reproduces it, but yeah it's not a big issue because who keeps doing /callcargoplane and then immediately use /crashcargoplane anyway.

Yeah, you can close this now, thanks again and have a good evening.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.4k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.