af-idcard [RSG-VORP]

af-idcard [RSG-VORP] af-idcard [RSG-VORP]
  • af-idcard [RSG-VORP]
  • af-idcard [RSG-VORP]
  • af-idcard [RSG-VORP]

This item is free.

Add to Basket

# 🪪 AF-IDCARD - Identification System

**AF-IDCard** is a high-performance, immersive identification system designed for RedM servers. Built with optimization and realism in mind, it supports multiple frameworks out of the box and provides a seamless roleplay experience with zero performance overhead.

## � Technical Highlights

*   **Dual Framework Native Support:**

    *   **VORP Core:** Full integration with VORP inventory and character systems.

    *   **RSG Core:** Native support for RSG Shared Items and inventory logic.

    *   *Configuration switchable via `config.lua`.*

*   **Dynamic UI & NUI:**

    *   Responsive HTML/CSS/JS interface designed with authentic 1899 aesthetics.

    *   Handles variable-length data (names, dates) with auto-scaling text to prevent overflows.

    *   **Pacifico Font Integration:** Uses period-accurate handwriting fonts for immersive visuals.

*   **Networked Synchronization:**

    *   Server-side validation for ID creation and payments.

    *   **State Bag / Event Sync:** Automatically displays the ID card UI to nearby players within a configurable radius (`Config.NearbyDistance`) when used.

*   **Metadata & Database Integration:**

    *   Uses `oxmysql` for robust asynchronous database transactions.

    *   Stores character metadata (dob, gender, etc.) persistently.

    *   Custom SQL schemas provided for both frameworks.

## ⚡ Key Features

*   **Immersive Props & Animations:**

    *   Triggers specific 'pocket watch check' or 'book reading' emote sequences upon item usage.

    *   Attaches a physical notebook/card prop (`p_cs_bookkelonian`) to the player's hand with precise bone attachment offsets.

*   **Illegal / Fake ID System:**

    *   **Hidden Dealers:** Configurable "Shady Dealer" NPCs with no blips for illegal roleplay.

    *   **Separate Item Logic:** Distinct `idcardfake` item handling with higher costs and separate crafting logic.

*   **Comprehensive Configuration:**

    *   **Locations:** Vector4-based coordinate setup for multiple office locations.

    *   **Blips:** Fully customizable blip sprites, colors, and visibility.

    *   **Localization:** Locale-based language system (en/tr included).

## 📦 Package Contents

*   **Resource Files:** Fully commented Lua source code (Client/Server/Shared).

*   **NUI Assets:** HTML, CSS, JS, and font files.

*   **Database Files:** `.sql` files for automatic table creation.

*   **Item Images:** **Note:** Inventory icons are NOT included. You must add your own images for `idcard` and `idcardfake` to your inventory to ensure they match your server's style.

*   **Installation Guide:** Detailed step-by-step documentation.

## ❓ FAQ (Frequently Asked Questions)

**Q: Can I customize the ID card design?**

A: The NUI code is encrypted/locked to ensure integrity. However, you can freely replace the image assets (textures, backgrounds) within the `nui/img` folder to match your server's theme.

**Q: Can I add more locations?**

A: Yes, you can add unlimited office locations or black market dealers in the `config.lua` file.

## 📞 Support & Community

If you have any questions, require technical support, or want to suggest new features, join our Discord community!

Join Discord

---

*Elevate your server's roleplay standards with a professionally engineered identification solution.*