What is it?
911Improved is one of my newer scripts and was put out pretty quick so if there are bugs, please let me know. It is a 911 system where you can do /911 [report] in-game and you can call for LEOs or whoever to your location. It also uses a webhook where you can setup in your server.lua and it sends the 911 call to your discord server. Also, when you do /911 [report], it shows up with a circle around the general area for a more realistic look and feel!
I need to ask this, as this is a zip, instead of a github link (where i could check this instead of asking it)…
Does the alert/map circle display ONLY to “selected jobs, ie LEOs” ?
Nice release anyways, as a tip, next time it’s better if you use github instead of a zip file.
It was show up globally in the chat. The circle will also appear for everyone aswell. In the next version as well, I will make it an option where only selected people say as someone does /911call or something like that, they will be able to view the 911 call. This will also be a customizable feature that you can change to true or false! Also in the next version, I will move the file over to a GitHub for easier access. Thank you for your feedback!
Edit: The link has now changed to a GitHub Repository. Also, you can now change the radius of how big the circle is. Next version will contain the only LEO mode which was thought of above so thank you Hiso!
Of course you can, at the top of the client.lua, there is a blipTime at the top of the page, change that time into seconds. Also for the size in the client.lua, you can change the size by scrolling down a bit and look for the line that says “local blip = AddBlipForRadius(x, y, z, 175.0)”, change that 175.0 to something larger or smaller and then restart the resource and there ya go! In the next update. I will put the blip radius as a customizable feature!
Possibly in the next version, I would love to introduce a postal in this. I may use the nearest-postal script and give the creator credit for it. Would love to have that in!
There is no bot needed. You need to create a webhook by right clicking on the channel you want, Integrations then create the webhook. Copy the URL that it will provide for you and replace it with the one in the config. Then you should be good to go. Sorry for the late response.