image

:zap:Thanks for trying out my first FiveM useful resource ! I hope you take pleasure in :fish::heart:

:electric_plug:No POWER no LIGHTS :candle:– An ESX job that requires gamers to keep up an influence grid !:zap:

Watch a preview here: :eyes:
download the resource (GitHub) :heart:

REQUIREMENTS

1.) vSync Climate ModvSync Weather Mod
2.) mythic progbarsMythis progbars

GET STARTED

1.) As soon as downloaded, merely add the TunasPowerJob folder into your /useful resource folder

2.) In server.cfg add guarantee TunasPowerJob (VSYNC MUST START BEFORE POWERJOB; SO PLACE POWERJOB BELOW IT)

3.) In your vSync mod we are going to make 2 additions, one in vs_server.lua & the fxmanifest.lua recordsdata (will work if youre utilizing older __resource.lua)

3a.) add – TunasPowerJob – Add this to vs_server.lua

exports(‘weatherCb’, operate(cB)
cB = CurrentWeather
return cB
finish)

3b.) add
server_export ‘weatherCb’
to fxmanifest.lua

4.) import importthis.sql to your database

5.) add explosive.png to your esx_inventoryhud useful resource /html/img/

6.) Regulate the uniforms in job.lua to match desired look (seek advice from video to honor my existance)

If carried out accurately; your Energy Grid will probably be up and operating !!

For any points, please report any console errors each shopper + serverside so I can finest help you !

** :zap: Options :battery:**

1.) Energy Job creates a grid that controls the town’s energy; As the ability drains blackouts will grow to be extra frequent, till the grid collapses utterly ! :candle:

2.) The Energy Grid should be maintained by gamers; there’s 2 jobs arrange for all gamers to contribute NO JOB REQUIRED (My reasoning is because of its significance, it must be one thing that everybody can contribute to while not having to modify jobs) *By doing the roles, you add to the grid’s energy *

3.) Native Grid Work – A really brief job that enables gamers to contribute a small quantity in the direction of the grid

4.) Journey Grid Work – A brief touring job that enables gamers to contribute a bigger quantity in the direction of the grid whereas receiving a bigger payout

5.) The grid may also be SABOTAGED (As a result of why not ??) with an merchandise referred to as “explosives” (You will want to both add this to shops manually, or select to spawn it and many others)

6.) Manually add/subtract from the grid with a whitelisted command /energy [add/sub] [amount]

**Vital Areas **
1.) Grid pos – 537.77, -1651.43, 29.26
2.) Sabotage pos – 567.17, -1581.83, 28.19
<><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>
| Resmon | ~ idle .01ms 0.06~ examined with 30 – 35 gamers ~

<><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>><><>

Credit to GitHub – utkuali/pacificheist-ESX- for the bomb animation networking <3



Looking for paid scripts? Click here