Anyone have a panic button script I could use? Or maybe point me in the right direction for making it?
Anything on this? Iâd really appreciate it.
How would this panic button work? Would it send a notification out to a dispatcher? Or to all players (In chat)?
All players in game.
How do you want it triggered? Via a button on your keyboard (If so, which?) or via a command (If so, which?)?
Fiskeys Script has a Panic button and it sends a Message to all LEOâs (In Chat) with the Streetname where the Officer currently is, and its simply activated by pressing F6. (F6 is pretty nice because nothing else is bind to it, at least for me :D)
But I think adding a red Blip or a circle on the Map would be even better, but I dont know if its that easy to do :).
The thing with adding the blip/circle is that itâd pop up on everyoneâs screen, which is annoying. In the other hand of you want only officers to have it youâd need to know who is a cop and who isnât, which depends on some database kind of thing.
The /pb we type in our server alertâs all members of emergency services in the game.
Is it very difficult to include a database for such a âsmallâ script?
For me personally, I just play with some friends (max. 8 people atm) so it wouldnât bother me if everybody sees the blip on the map and/or gets notified in chat
But I can not speak for others ^^
Just use a table? And put the popo in that.
Just finishing a small script with permanent cops, gonna post here when done.
Made a simple plugin that should do whatâs been asked. Use /addcop and /clearcops to manage officers. There isnât a readme or anything else like that. I havenât been able to test it out completely so advise me if anything goes wrong. panicScript.rar (8.4 KB)
Thanks dude I will try it out asap!
panicScript.rar (9.0 KB)
^^UPDATE^^
Fixed the script, use /addcop and /clearcop to manage officers, currently it resets every time the resource is restarted. Hold F6 for Panic!
I really appreciate this. Thank you.
hey i am looking for a Dispatcher script
You should put out a second update with CouchDB so only certain officers can use the script when the server is restarted.
how do i add this to my server