[ESX] [PAID] Blackout Script

A script by Topic_Elite

No reviews yet.
[ESX] [PAID] Blackout Script main image

Full Description

Good day, I have finished something small here.

The script causes an island wide blackout.

SHOWCASE

BUY NOW FOR 10€

To start the blackout, an admin enters the command “/blackout” or the player via mini-games.

The player has to hack the power boxes at different locations. Once he has successfully done this, the power goes out for a certain time, and it is dark in the city.

Individually adjustable:

  • Locations

  • Length of the blackout

  • Cooldown

  • How much time you have for the attempt

  • Blacklist jobs

  • Remove item

  • Hacking options

  • Command

  • Command permission group

Required: mhacking (Free script)

During a blackout attempt or during a blackout, the command “/blackout” cannot be used to not take away the player’s RP.

Script implementation:

To query in other scripts if there is currently blackout, can be retrieved via the following function:

Client Side:


    ESX.TriggerServerCallback('7blackout:getBlackoutStatus', function(blackoutStatus)

    end)

Please do not republish this script or sell it on other platforms.

Code is accessible No
Subscription-based No
Lines (approximately) 419
Requirements ESX, mhacking
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily