[Release][Standalone] Tactical Nuke Script

Lucky you lol I cannot get this thing running… I am added as ace in my server config and other plugins that use those permissions work… (You must be an administrator do do this.) Sadface because would be perfect for me server. Cheers!

how do we add permissions ?

@yoinier28 @DREAD69XI @PrecisionRoleplay @Warpoet2272 @sXtunz @BBGsever @PLG_Dante
And for anyone else that doesn’t know how to set up aces, I didn’t realized this many people didn’t know how to set sublevel aces. so I’ve done it for you.

  • Download the "sil-permissions.cfg" here… sil-permissions.cfg (1.4 KB)
  • MAKE SURE YOU ADD YOUR STEAM ID TO THE "sil-permissions.cfg"
  • place the "sil-permissions.cfg" file in your “resources” folder. (outside of the sil-nuke script)
  • add "exec resources/sil-permissions.cfg" to your "server.cfg" directly above the nuke script.
    example:
    Untitled
  • Once you have done all that edit the "Config.lua" in the nuke script and change 'group.admin" to "nuke.admin"
  • (re)Start your server, and test.
1 Like

thank you soo much, it works but it only works with /nuke @T.Silence

im guessing we have to change all if IsPlayerAceAllowed(source, “group.admin”) then in sv-nuke.lua to if IsPlayerAceAllowed(source, “nuke.admin”) then ??? @T.Silence

PS: Yes this works for all other commands …

2 Likes

you made my day… awesome…thanks a lot

Good eye, I’ve updated the sv-nuke.lua file, here you go! sv-nuke.lua (2.7 KB)

Well, permissions work. But doesn’t work deactivate… if I used second /nuke it wrote “Has been deactivated” but started second nuclear attack.

Thanks much! Just tested, works great and I’m very thankful for the permissions. :slight_smile:

1 Like

how do i get this to work in game

it says i need to be admin

updated post.

1 Like

GG, one of biggest servers on FiveM platform use it. (No pixel)

Here’s the clip lmao.

1 Like

Is there any way you could create a command to mark where the nuke will drop and can be activated later with /nuke ? or is it already doing that? lol
very awesome

Hey so i followed all the instructuions and it still wont work it says you need Administrator for this even though i did it?

Pretty sure i am going to add it on my server’s staff menu just for a more fun slay😂

Added this script, it is hilarious! thankyou very much!

what do u mean by outside of the folder

1 Like

Hello, I have a error of @Sil-nuke/sv-nuke.lua:12: attempt to index a nil value (global’config > ref (@sil-nuke/sv-nuke.lua:12)