Commands

This page lists all available commands in the God-Impound system and how to use them.

👮 Police Commands

/impound

Description: Opens the impound menu for police officers to start the impound process.

Usage:

/impound

Requirements:

  • Player must have the police job (J0.PolJobName from config)

  • Must be used by authorized personnel only

What it does:

  • Opens a menu showing all available impound laws

  • Allows officer to select a law violation reason

  • Opens the impound UI to fill in vehicle details

Example:

/impound

Result: Opens the laws menu where officers can select why a vehicle is being impounded.


/camerasshow

Description: Toggles the camera system for taking proof photos of vehicles.

Usage:

Alternative: Can also be used via the camera item (jomidarcam) from inventory.

Requirements:

  • Player must have the police job

  • Camera item in inventory (if using item method)

What it does:

  • Opens the camera view

  • Shows vehicle plate detection

  • Displays current street name

  • Allows taking screenshots as proof

Controls:

  • ENTER - Take photo

  • ESC - Close camera

Example:

Result: Opens camera interface showing vehicle information and allows taking proof photos.


🎮 In-Game Interactions

Impound Ped Interaction

Location: At the configured impound ped coordinates (J0.ImpoundPedCoords)

Action: Press E (or configured interaction key) near the impound ped

What it does:

  • Opens the impound vehicle list menu

  • Shows all currently impounded vehicles

  • Allows viewing vehicle details

  • Enables vehicle retrieval

Requirements:

  • Player must have police job

  • Must be near the impound ped NPC


📋 Command Usage Workflow

Complete Impound Process:

  1. Find a vehicle to impound

    • Approach the vehicle

    • Ensure you're close enough (within 20 units)

  2. Open camera (Optional but recommended)

    • Take a proof photo of the vehicle

    • Note the vehicle plate shown

  3. Start impound process

    • Select the law violation reason

    • Fill in vehicle details:

      • Car Plate

      • Image Link (from camera)

      • Impound Days

      • Impound Type (Self or Tow Driver)

  4. Complete impound

    • Progress bar will appear

    • Vehicle will be impounded after completion

    • Vehicle disappears (if Self) or tow truck is called (if Tow Driver)

View Impounded Vehicles:

  1. Go to impound lot

    • Navigate to the impound ped location

    • Press E near the ped

  2. Browse vehicles

    • View list of all impounded vehicles

    • Click on a vehicle to see details

  3. View details

    • See owner information

    • Check impound reason (law)

    • View proof image

    • See release date

  4. Retrieve vehicle (if authorized)

    • Click "Take Out" option

    • Vehicle spawns at configured location

    • Player is automatically put in the vehicle


🔧 Command Permissions

All commands are automatically restricted to players with the police job configured in J0.PolJobName.

To change permissions:

  • Modify the job check in the source files (requires script modification)

  • Default: Only players with job name matching J0.PolJobName can use commands


⚠️ Important Notes

  • Camera Command: The camera can also be activated by using the jomidarcam item from inventory

  • Impound Menu: Only accessible to police officers

  • Vehicle Retrieval: Only police can retrieve vehicles from impound

  • Automatic Release: Vehicles are automatically released after the impound duration expires (checked every 60 seconds)


🐛 Troubleshooting Commands

Command not working?

  1. Check job name:

    • Verify your job name matches J0.PolJobName in config

    • Ensure you're on duty (if your server requires it)

  2. Check resource status:

  3. Check console:

    • Look for errors in F8 console (client) or server console

  4. Verify dependencies:

    • Ensure ox_lib is installed and running

    • Check that all required resources are started

Camera not opening?

  1. Check screenshot-basic:

    • Ensure screenshot-basic resource is installed

    • Verify it's started: ensure screenshot-basic

  2. Check camera item:

    • If using item method, verify item is in inventory

    • Check item configuration in inventory files

  3. Check image logging:

    • Verify J0.ImageLogs is configured correctly

    • Test webhook/API connection


📝 Command Examples

Example 1: Impounding a Vehicle

Example 2: Retrieving a Vehicle

Last updated