Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[WIP] FRBA - First Response Base Addon

Featured Replies

First Response Base Addon is a WIP mod that is intended to serve as a dependency for other mods to use.

It will help players by:

 - Providing centralized tools (breathalyzer, radar gun, ALPR, court system) that any mod can hook into. This is to try and prevent duplicate features being present in your game.

 - Provide an easy to use settings menu, allowing keybinds and mod settings to be changed on the fly, instead of with a text editor and ini files.

 

It will help developers by:

 - Providing a simple to use Keybinds API

 - Providing a simple to use Settings API

 - Checking for Updates to your mod

 - Adding the ability to add documentation in-game

 

It is still very much WIP, and the first release won't contain all the tools listed above. I am focusing first on the Keybinds and Settings APIs. 

Getting a basic keybind setup with FRBA is simple
 

Keybind yell = new Keybind(Keys.X);
yell.location = KeybindLocation.OnFoot;
yell.SinglePress += Yell;
yell.HeldPress += YellLoud;
mod.Keybinds.Register("YELL", "Yell", yell);

That small amount of code will call the `Yell` function on a short press or `YellLoud` on a long press. The player can open up this menu and change the keybind, and it gets applied instantly. No reloading needed.

 

I have attached two images showing the current very WIP interface. This project will be made open source on GitHub once the first release is ready, and development will continue from there.

 

Let me know any thoughts, comments, ideas or anything else related to this WIP project.

20190225065222_1.jpg

20190225065226_1.jpg

Edited by SynixeBrett

👍

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.