[FREE] Purge Script

Hello everyone, I’ve been doing some releases lately and I decided to release a purge script. This is a really simple script just changing the weather, time, playing the purge sound, etc. If you guys have any ideas of what to add onto this I would happily look into it.

What makes this script different?

  • Starts the purge automatically near restart (180 seconds / 3 minutes)
  • Custom message when purge is starting
  • Simple, Low Usage on the client
  • If you cancel the restart it will revert the changes and change the time / weather to normal. (they will have to listen to the purge sound until the end)

The script is primarily client based apart from getting when the server is about to shut down. All you need for this script to work properly is TxAdmin as it’s goes off of the events from the server getting close to scheduled restart time.

I hope that y’all enjoy this script :slight_smile:

Code is accessible Yes
Support Yes
5 Likes

Is there maybe a dependency missing? The message appears on screen but no sound is played.
Or then starts the sound? Direct if the message appears or later?

Have you fully restarted the server after putting in the plugin? And no there are no dependencies, it should automatically play the sound as long as you left the file as it came.

Can we replace the Gta notification ( the big thing in middle of screen) system by Ox or Esx one ?

amazing free release

I tested it on my local game server. And shotdown complete with a fresh start.
But i think thats the Problem. Or does it collide with easytime that i use for time- and weathercycles. The tsunami-settings in easytime are disabled completly.

I’ve had some issues with VMenu times and other one’s trying to reset the weather or time, so just be aware of that if they are trying to run at the same time it might be the confliction you are having.

Yea you can as long as you know how to do it I’m fine with modifications of the script to your own liking :slight_smile:

1 Like

I have two questions:

  • Does the save the players get saved before the purge countdown and load how it was saved after the server restart?
  • I use a weather sync script that does the rain countdown before the restart. Is this script going to conflict with it?

Works amazing. Thank you for creating this!