# Police Tools – a helper for Advance RP police factions

> Police Tools: a free Lua helper for SA:MP police factions on Advance RP – key binder, RP actions, police database, ImGui UI. Since 2017, plus Lite and a police radar.

- URL: https://pakulichev.com/en/projects/police-tools
- Author: Pakulichev (https://pakulichev.com/)
- Language: en
- Updated: 2026-10-15
- Whole site for LLMs: https://pakulichev.com/llms.txt (index), https://pakulichev.com/llms-full.txt (full text)

## Facts

- **Type:** Police helper script
- **Servers:** Advance RP, Diamond RP, Arizona RP and other SA:MP RP projects
- **Platforms:** multiple operating systems
- **Language:** Lua (MoonLoader)
- **Interface:** ImGui / mimgui
- **Founded:** late 2017
- **Source code:** opened January 1, 2019
- **Size:** ~10,000 lines + ~3,000 lines of comments
- **Lite version:** November 2020, GPL v3
- **Price:** free

# Police Tools – a helper for police factions

**Police Tools** is a free cross-platform helper for players in police factions on **SA:MP** role-play servers, primarily **Advance RP** (Advance RolePlay). I started it in **late 2017**, when I was only just learning Lua, and kept developing it for several years.

"Cross-platform" here means two things: the script runs on different operating systems and on different RP servers – besides Advance RP, for example Diamond RP and Arizona RP.

## What it automates

A police officer on an RP server repeats the same actions over and over: RP actions (first-person roleplay emotes), radio reports, document checks, processing arrests, looking people up in the wanted database. Police Tools handles most of that routine, so the player can pay more attention to the game itself.

## Features

- **Key binder with tags**: RP actions and commands on a key press, with your nickname, ID and time filled in automatically.
- Automatic RP actions when you switch weapons.
- Multi-step dialog scenarios.
- Internal chat between script users.
- A "police database" with reference information for officers.
- ImGui windows and overlays right in the game.
- Synchronous and asynchronous HTTP requests, INI configuration.
- Sign-in with **Google Authenticator**, i.e. two-factor protection for the in-script account.

Most users came over from MVDHelper, a paid competitor: Police Tools offered similar features for free. The script was pinned in the police (MVD) section of the Advance RP forum.

## Open source

On **January 1, 2019** I published the Police Tools source code on BLAST.HK. The file was almost 550 KB: about **10,000 lines of code** plus roughly **3,000 lines of comments**. I released it for educational purposes, as an example of a large MoonLoader project with ImGui, HTTP, configs, dialogs and a key binder architecture.

## Versions

| Version | Period | What's new |
| --- | --- | --- |
| Police Tools (first) | 2017–2019 | Core features, installer, CLEO add-ons |
| Police Tools 0.0.0.6 | May 2019 | Moved to a new repository, imgui, faIcons, rkeys, effil, requests |
| Police Tools | October 2019 | "Multifunctional Lua helper", for Russian-speaking RP servers only |
| **[Police Tools Lite](https://pakulichev.com/en/projects/police-tools-lite)** | November 2020 | Open source, **GPL v3**, mimgui and LuaJIT FFI |

## Police radar

In March 2019, separately from the main script, I released a **police radar** modelled on the one in MVDHelper's premium version. It measures vehicle speed with the `/speeder` command. There were three versions; the third was downloaded almost 1,200 times.

Full details are on its own page: [Speeder police radar](https://pakulichev.com/en/projects/police-radar).

## Other scripts for Advance RP

- **Report Questions Statistic** (January 2019) collects statistics of report answers.
- A script (July 2019) that turns off the radio in police vehicles automatically.
- **SMS Encryptor** (December 2020) sends encrypted /sms messages so that nobody else can read the conversation.

## FAQ

### Who made Police Tools?

Police Tools was created by Pakulichev (in-game name Pavel_Garson). The project was founded in late 2017 and developed until 2020.

### Is Police Tools paid?

No. Police Tools has always been a free non-commercial project. In 2020 Police Tools Lite was released as open source under the GPL v3 license.

### Which servers does Police Tools work on?

Police Tools works on different SA:MP role-play servers, including Advance RP, Diamond RP and Arizona RP, and on different operating systems. It was built primarily for Advance RolePlay. Before using any scripts, check your server's rules.

### Where can I get the Police Tools source code?

The source code of the main version was published on BLAST.HK on January 1, 2019 in the thread "Police Tools source code | Advance RolePlay". Police Tools Lite was distributed as open source under GPL v3.
