[DEPRACATED] Scene Menu Traffic Policer

What is the key to open the menu?
I see keypress 166, which I believe is F5, but the menu doesn’t seem to be opening. I have the resource in and it is started.

1 Like

You need to have NativeUI installed.

Cool Menu! I’m going to add it to my Development Server and see what’s up with it, i’ll make sure to leave a review with i’m done testing it out!

is NativeUI something that needs to be installed client sided or can i install server sided?

It can be installed serversided, apologies i’ll include a link to what you need!

You need to download the following resource and start it as a seperate resource. I’ve included this in the main post now! :slight_smile:

ok thank you and sorry foe being a noob

1 Like

omg this is SO good of script THANK YOU so much!!!

Keep up the good work man!!!

1 Like

Thank you, much appreciated! :slight_smile: <3

hmm cool good job

1 Like

Thank you

I’ve included instructions in the main post now for people a bit confused on how to install the resource.

Thank You for adding instructions, because I was meaning to install the menu, but never could because I was having trouble with doing so.

1 Like

Absolutely no worries, mate. Should’ve done them when I initially posted but didn’t, apologies

I love this. It is good for our Scenarios for the FD. Only issue I have is that some objects dont want to delete sometimes.

1 Like

Yeah, it’s incredibly rare though. You just have to find the sweet spot, usually where you were standing when you originally spawned in the object.

Glad you like it though! :slight_smile:

I actually do love it. It goes good with our retro (1990’s-2000’s) Vehicles.

1 Like

You think there is a way to to change (let me know how) this from F5 to like /scenemenu

1 Like

Of course! All you’d have to do is change the following…

Citizen.CreateThread(function()
  while true do
      Citizen.Wait(0)
      _menuPool:ProcessMenus()
      if IsControlJustPressed(0, 168) and GetLastInputMethod( 0 ) then
          trafficmenu:Visible(not trafficmenu:Visible())
      end
  end
end)

To something along the lines of…

Citizen.CreateThread(function()
  while true do
      Citizen.Wait(0)
      _menuPool:ProcessMenus()
      RegisterCommand('scenemenu', function(source, args, rawCommand)
          trafficmenu:Visible(not trafficmenu:Visible())
      end, false)
  end
end)

Although I haven’t tested that fully, it should work absolutely fine! :slight_smile:

Amazing Script, love how it like merges 2 into one. :slight_smile: Keep it up!

1 Like