Hello @IceHax,
first at all great script!
I’ve reworked it for my own fittings and added a “airstrike Item” u can buy and use to do airstrikes.
I also added the function to set a Waypoint on the Map where the airstrike have to go down.
The aircrafts are now flown by neutral npcs (before it was flown by marines that will attack yourself if you got Stars because they are cops! big Thanks to @Lepke1 for finding out!)
I also added that the aircrafts always spawn about 1,5 kilometers away from the marked point so you don’t have to wait longtime.
Sry for my bad english but here is a video to show u what i mean:
I have used the “medium” command and added some shots because light is too light and armaggedon crashes my client xD
Do u allow me to upload it?
Greetings,
Mikrolai.
EDIT:
I’ve seen IceHax already allowed it…
“…go ahead and use my code as you wish, you have my permission.”
NOTE THAT IT’S FOR ESX ONLY
Big thanks to @AndrewChengP for testing it so many times! With him I was able to make it work without messing around in the esx_basicneeds/esx_extraitems config.
Greetings,
Mikrolai.
airstrike_finally_working.rar (46.2 KB)