Store logo

Free Scripts

5 packages available

Premium ScriptsFree ScriptsSubscriptionsBundleProject Silverline

5 packages

rps_lib
Free Scripts
$0.00

rps_lib

๐Ÿš€ RPS_LIB

Advanced Multi-Framework Bridge Library for FiveM

RPS_LIB is a powerful compatibility framework inspired by ak47_lib, designed to provide developers with a single API that works across multiple frameworks and third-party resources.

Instead of maintaining separate code for ESX, QBCore, QBX, inventories, target systems, fuel scripts, vehicle keys, and garages, RPS_LIB automatically detects and bridges everything for you.

Build once. Support everything.


โœจ Features

๐Ÿ”น Multi-Framework Support

Automatic framework detection for:

  • ESX Legacy
  • QBCore
  • QBX Core

No framework-specific code required.


๐Ÿ”น Unified API

Access all systems through one export:

local RPS = exports['rps_lib']:GetLibObject()

Giving you a consistent interface for:

  • Players
  • Jobs
  • Money
  • Items
  • Vehicles
  • Metadata
  • Stress
  • Notifications
  • Progress Bars
  • Targets
  • Garages
  • Vehicle Keys

๐Ÿ“ฆ Inventory Support

Compatible with:

  • ox_inventory
  • qb-inventory
  • qb-inventory-old
  • qs-inventory
  • ps-inventory
  • lj-inventory
  • codem-inventory
  • origen_inventory
  • tgiann-inventory
  • core_inventory
  • jaksam_inventory
  • cheeza_inventory
  • ak47_inventory
  • ak47_qb_inventory

๐ŸŽฏ Target Systems

Supports:

  • ox_target
  • qb-target
  • qtarget
  • ak47_target
  • rps_target

Create interactions once and let RPS_LIB handle the rest.


๐Ÿ”” Notification Systems

Integrated support for:

  • ox_lib
  • ESX notifications
  • QB-Core notifications
  • QBX notifications
  • Custom notification systems

โณ Progress Bars

Supports:

  • ox_lib progress bars
  • ESX progress bars
  • QB-Core progress bars
  • Custom systems

โ›ฝ Fuel Systems

Compatible with:

  • LegacyFuel
  • ox_fuel
  • ps-fuel
  • lc_fuel

๐Ÿ”‘ Vehicle Key Systems

Supports:

  • tgiann-hotwire
  • qs-vehiclekeys
  • wasabi_carlock
  • qb-vehiclekeys
  • qbx_vehiclekeys
  • vehiclekeys
  • cd_garage
  • ak47_vehiclekeys
  • ak47_qb_vehiclekeys
  • rps_vehiclekeys

๐Ÿš— Garage Support

Works with:

  • jg-advancedgarages
  • qb-garages
  • cd_garage
  • rps_garage

๐Ÿฆ Banking Support

Compatible with:

  • Renewed-Banking
  • okokBanking
  • qb-banking

๐Ÿง  Stress Systems

Supports:

  • jg-stress-addon
  • ps-stress
  • QB stress
  • Ox stress
  • Custom systems

Functions include:

RPS.AddStress()
RPS.RemoveStress()


๐ŸŽจ Interface Helpers

Built-in helpers for:

  • Notifications
  • Progress bars
  • Context menus
  • Input dialogs
  • 3D text
  • Objectives
  • Checklists

๐Ÿ“‹ Player Utilities

Retrieve:

  • Character information
  • Jobs
  • Job grades
  • Identifiers
  • Metadata
  • Duty status

Using a standardized API regardless of framework.


๐Ÿ“ฆ Inventory Utilities

Includes functions for:

  • Add items
  • Remove items
  • Search items
  • Open stashes
  • Item image links
  • Metadata support

๐ŸŽฏ Target Utilities

Easily create:

  • Box zones
  • Entity targets
  • Interaction options
  • Zone removal

Without worrying about which target script the server uses.


โšก Auto Detection

Set everything to:

Config.Framework = 'auto'
Config.Inventory = 'auto'
Config.Target = 'auto'
Config.VehicleKey = 'auto'
Config.FuelScript = 'auto'
Config.Garage = 'auto'
Config.Banking = 'auto'
Config.Stress = 'auto'

RPS_LIB automatically detects installed resources and configures itself.


๐Ÿ”ง Installation

Add to your fxmanifest.lua:

dependency 'rps_lib'

Then simply use:

local RPS = exports['rps_lib']:GetLibObject()

and start building framework-independent resources.


โญ Why RPS_LIB?

โœ… One API

โœ… Automatic Detection

โœ… Multi-Framework Support

โœ… Extensive Third-Party Integrations

โœ… Lightweight and Optimized

โœ… Developer Friendly

โœ… Future Proof


๐ŸŒŸ RPS_LIB

Advanced Multi-Framework Bridge System

Develop Once. Support Everything.

rps_aimedic
Free Scripts
$0.00

rps_aimedic

# ๐Ÿš‘ RPS AI Medic

Bring immersive emergency assistance to your FiveM server with **RPS AI Medic**. When no EMS personnel are available, players can call an AI-controlled medic who travels to their location, performs treatment, and revives themโ€”all while respecting configurable restrictions, cooldowns, and framework integrations.

---

## โœจ Features

- ๐Ÿค– AI Medic automatically travels to the player's location

- โค๏ธ Revives players directly at their current position

- ๐Ÿ’ฐ Configurable treatment pricing

- ๐Ÿš‘ Automatically disables when enough EMS are online

- โณ Server-side cooldown system (persists across reconnects)

- ๐Ÿ›ก๏ธ Anti-spam request protection

- ๐Ÿ“ Restricted zone support

- ๐ŸŽญ Random AI medic models

- ๐Ÿ“ข Discord webhook logging

- ๐Ÿ”„ Compatible with multiple ambulance systems

- โš™๏ธ Fully configurable through `config.lua`

- ๐Ÿ”’ Escrow protected with editable configuration

---

# ๐Ÿ“ฆ What's Included

- AI Medic NPC

- Automatic player treatment

- Revive system

- EMS online checking

- Payment handling

- Cooldown management

- Anti-spam protection

- Discord logging

- Configurable revive events

- Restricted area support

---

# โš™๏ธ Configuration

Everything can be configured including:

- EMS job name

- Maximum EMS online

- Treatment cost

- Society account

- Revive duration

- Command name

- Cooldown

- Anti-spam timer

- Medic models

- Walking speed

- Restricted zones

- Discord webhook

- Revive events

---

# ๐Ÿš‘ How It Works

1. Player becomes incapacitated.

2. Player uses the AI Medic command.

3. Script checks:

- EMS online count

- Cooldown

- Restricted zones

- Anti-spam timer

4. Payment is processed.

5. AI Medic spawns nearby.

6. Medic walks to the player.

7. Treatment countdown begins.

8. Player is revived in place.

9. Optional ambulance events are triggered.

10. Call is logged to Discord (optional).

---

# ๐Ÿ”ง Requirements

- **rps_lib**

Compatible with:

- QBX

- QBCore (via RPS Lib bridge)

- ESX (via RPS Lib bridge)

---

# ๐Ÿ’ฌ Commands

| Command | Description |

|---------|-------------|

| `/aimedic` | Request an AI Medic |

---

# ๐Ÿ› ๏ธ Changelog Highlights (v1.0.1)

### Added

- Server-side cooldown

- Request throttling

- Restricted zones

- Random medic models

- Discord webhook logging

- Multiple revive event support

- Native revive system

- Floating treatment countdown

### Fixed

- Payment verification

- Infinite treatment loop

- Revive event timing

- Cooldown tracking

- Debug permissions

- Request handling

- Network revive issues

---

# ๐ŸŽฏ Perfect For

- Roleplay Servers

- Economy Servers

- Survival Servers

- Public Communities

- Private Communities

---

# ๐Ÿ”’ Escrow Information

- Configuration is fully editable.

- Script is protected using FiveM Asset Escrow.

- No core file modifications required.

---

# ๐Ÿ“š Documentation

Documentation:

> https://docs.realplayscripts.co.za/

---

# ๐Ÿ’ฌ Support

Need help?

Join our Discord community for support, updates, and feature requests.

**Discord**

> https://discord.gg/realplayscripts

---

# ๐Ÿ›’ Purchase

Available exclusively from the Real Play Scripts Tebex Store.

**Store**

> https://tebex.realplayscripts.co.za

---

# โค๏ธ Why Choose RPS AI Medic?

Whether your server has a full EMS team or players are online during quiet hours, RPS AI Medic ensures nobody is left stranded. It provides an immersive AI-powered medical response while maintaining server balance through pricing, cooldowns, and EMS availability checks.

rps_smallresources
Free Scripts
$0.00

rps_smallresources

# Introduction

**RPS Small Resources** is a modular collection of lightweight, performance-focused FiveM resources designed to provide useful roleplay, quality-of-life, and server utility features while remaining easy to configure, maintain, and integrate into existing FiveM servers.

The main goal of **RPS Small Resources** is to provide multiple useful features without forcing server owners to completely change their existing framework, inventory, notification, target, fuel, dispatch, radial, door-lock, or gang systems.

Instead, RPS Small Resources is designed to work together with the **RPS Lib (`rps_lib`) advanced bridge system**, which acts as the central integration layer between the individual resources and the systems installed on your server.

---

## What Is RPS Small Resources?

RPS Small Resources is a collection of independent FiveM resources that can be used individually or together.

The package is designed around the idea that small gameplay features should not require large, complicated dependencies or extensive framework-specific modifications.

Depending on the resources included in your installation, RPS Small Resources can provide features such as:

- Player interaction systems

- Hands-up functionality

- Kneeling functionality

- Carry systems

- Crosshair controls

- Map and ESC menu customisation

- Vehicle radio controls

- Roleplay utility features

- Target interactions

- Framework job checks

- Inventory interactions

- Notifications

- Fuel integration

- Dispatch integration

- Radial menu integration

- Door-lock integration

- Gang integration

- Server-side transaction handling

- Permission checks

- Developer integration APIs

Each feature is designed to perform a specific task while remaining compatible with the larger RPS ecosystem.

---

# RPS Lib Integration

One of the most important components of the RPS ecosystem is **`rps_lib`**.

`rps_lib` provides a central bridge system that allows RPS resources to communicate with different FiveM frameworks and third-party resources without requiring every individual script to contain separate integrations.

Instead of writing:

```lua

local QBCore = exports['qb-core']:GetCoreObject()

local Player = QBCore.Functions.GetPlayer(source)

if Player.PlayerData.job.name == 'police' then

-- Police functionality

end

rps_ads
Free Scripts
$0.00

rps_ads

# ๐Ÿ“ข RPS Ads โ€” Released!

A clean, modern advertisement system for your city. Businesses, gangs and civilians can broadcast ads to the whole server with one command.

## โœจ Features

- **One simple command:** `/ads "your message"`

- **Job-aware:** the script reads your job and posts as your business automatically, with its logo and title

- **Gang ads:** QBCore and QBox read your **gang**, ESX reads your **job**

- **Lifeinvader fallback:** no listed job? Your ad posts as a public Lifeinvader classified

- **Modern NUI:** top-center card, smooth animations, countdown bar, and its own colour for each ad type (business, gang, Lifeinvader)

- **Configurable pricing:** separate prices for business/gang ads and Lifeinvader ads, bank or cash, or free

- **Anti-spam:** per-player cooldown and a message length limit

- **Discord logs:** every ad is logged with the player name, job and message

- **Easy config:** add businesses and gangs in seconds

## ๐Ÿงฉ Frameworks

โœ… ESX โœ… QBCore โœ… QBox โœ… Standalone

Powered by **rps_lib**, so there's no framework editing needed.

## ๐Ÿ“ฆ Dependencies

- `ox_lib`

- `rps_lib`

## โœจ Feature List

**๐Ÿ“ฃ Advertising**

- `/ads "message"` posts an ad to every player on the server

- Players write their own message, while the title and logo come from the config

- Quotes are optional: `/ads Open 24/7!` works too

- Chat suggestion shows how to use the command

- The command name can be changed in the config

**๐Ÿข Business Ads**

- Detects the player's job automatically

- Each business has its own title, logo and on-screen time

- Add as many businesses as you want

**๐Ÿ”ซ Gang Ads**

- QBCore and QBox read the player's **gang**

- ESX reads the player's **job**

- Gang ads have their own red style

**๐ŸŒ Lifeinvader Ads**

- Players without a listed job post a public Lifeinvader ad

- Title, category, logo and price can all be changed

- Can be turned off completely

**๐ŸŽจ Modern UI**

- Clean dark card at the top center of the screen

- Smooth slide-in and fade-out animations

- Countdown bar for how long the ad stays up

- Colour for each ad type: blue for businesses, red for gangs, pink for Lifeinvader

- Business logo shown on every ad

- Doesn't take mouse or keyboard focus, so players can keep playing

**๐Ÿ’ฐ Economy**

- Charge per ad from **bank** or **cash**

- Separate price for Lifeinvader ads

- Set the price to `0` for free ads

**๐Ÿ›ก๏ธ Anti-Spam**

- Per-player cooldown, in seconds

- Maximum message length

- Cooldowns reset when a player leaves

**๐Ÿ“œ Logging**

- Discord webhook log for every ad

- Includes the player's name, ID, job, ad title, price and full message

- Each ad type has its own embed colour

**๐Ÿงฉ Compatibility**

- ESX, QBCore, QBox and Standalone through **rps_lib**

- Framework is detected automatically, no code edits needed

- Light on resources: nothing runs in a loop

rps_taxes
Free Scripts
$0.00

rps_taxes

# ๐Ÿ’ธ rps_taxes โ€“ Automatic Bank & Vehicle Tax System

**Put a real economy sink on your server.** On a timer you choose, every online player is taxed on their bank balance and on the vehicles they own. The money goes into your government, police, EMS or any other society accounts, split however you like.

Players get a notification, a mail on their phone and an entry in their banking app. Staff get a full Discord log of every cycle.

๐Ÿ“บ **Preview:** *[video link]*

๐Ÿ“ฅ **Download:** *[link]*

๐Ÿ“š **Docs / support:** *[link]*

---

## โœจ Highlights

  • ๐Ÿฆ **Bank balance tax** โ€“ a percentage of each player's bank balance, with a minimum balance and a max cap

  • ๐Ÿš— **Vehicle ownership tax** โ€“ a flat amount per owned vehicle, read straight from your framework's vehicle table

  • ๐Ÿ’ผ **Multi-account revenue split** โ€“ send collected tax to several society accounts by percentage

  • ๐Ÿ“ฑ **Phone integration** โ€“ tax notice mail plus a banking-app transaction on lb-phone and qb-phone

  • ๐Ÿ“œ **Discord logging** โ€“ queued and throttled, with per-event channels, so it never lags your server

  • ๐Ÿ”Œ **Multi-framework** โ€“ ESX, QBCore and QBox through `rps_lib`

  • ๐Ÿ”“ **Open source** โ€“ no escrow, every file is readable and editable

---

## ๐Ÿฆ Bank tax

  • Taxes a **percentage of each player's bank balance** every cycle (e.g. 1%)

  • **Minimum balance** โ€“ players below it aren't taxed

  • **Max tax per collection** โ€“ cap what the richest players pay (or `0` for no limit)

  • **Job exemptions** โ€“ e.g. `police`, `ambulance`, `government` pay no bank tax

## ๐Ÿš— Vehicle tax

  • **Flat amount per vehicle** a player owns

  • **Minimum vehicle count** before tax applies, and a **max tax cap**

  • **Vehicle table detected automatically** โ€“ `owned_vehicles` on ESX, `player_vehicles` on QBCore / QBox โ€“ or set your own table and column

  • Vehicle counts for all players are loaded in **one database query per cycle**, not one per player

  • **Separate job exemptions** from the bank tax

## ๐Ÿ’ณ Collection

  • Runs automatically on a **configurable interval** (in minutes)

  • Optional **collection on resource start**, after a configurable delay

  • **Allow debt** (balance can go negative) or **skip players who can't pay** and tell them what they owe

  • Players are processed **one after another, with a short pause in between**, so big servers don't hitch

## ๐Ÿ’ผ Multi-account revenue split

Send each cycle's revenue to **as many society accounts as you want**:

```lua

accounts = {

ย  ย  { account = 'government', share = 0.70 },

ย  ย  { account = 'police', ย  ย  share = 0.20 },

ย  ย  { account = 'ambulance', ย share = 0.10 },

ย  ย  { account = 'mechanic', ย  share = 1.0, from = 'vehicle', reason = 'Road Tax' },

}

```

  • **Split by percentage** across any number of accounts

  • **Split bank tax and vehicle tax separately** โ€“ e.g. all road tax to the mechanics, bank tax shared between government and police

  • **Custom transaction reason** per account

  • Works with **qb-banking**, **Renewed-Banking** and **esx_addonaccount** societies (on ESX the `society_` prefix is added automatically)

  • One failed deposit **doesn't block the others**

  • **Shares are checked at startup** โ€“ the system won't start if your percentages add up to more than 100%

## ๐Ÿ“ฑ Phone & notifications

  • **In-game notification** with the full breakdown (bank / vehicles / total) โ€“ codem, ox_lib or your framework's own notify

  • **Tax notice mail** to the player's phone, with a detailed breakdown

  • **Payment failed mail** when a player can't cover their taxes

  • **Banking-app transaction** so players see the tax in their phone's bank / wallet app

  • lb-phone **falls back to an SMS** if the player has no mail account set up

  • All texts, mail subjects, sender name and currency symbol are **editable in the config**

## ๐Ÿ“œ Discord logs

  • Logs **taxes collected, failed and exempt per player**, plus a **summary per cycle**, system start, errors and manual triggers

  • The **cycle summary** shows players taxed, total collected, failed, exempt and **every account deposit** (โœ… / โŒ)

  • **Queued & throttled** โ€“ messages are sent one by one with a delay, so a big cycle never blocks the server or hits Discord rate limits

  • **Per-cycle cap** โ€“ after X messages, only the summary is sent

  • **Separate channel per event** if you want one (e.g. summaries to a staff channel, failures to another)

  • **Webhook URLs are kept server-side** in `server/webhooks.lua`, so players can't see them

  • Optional **player identifiers** (license, Steam, clickable Discord mention)

- Custom bot name, avatar, colours and footer

- `/testtaxwebhook` to check your setup in one command

---

## ๐Ÿ”Œ Compatibility

| | Supported |

|---|---|

| **Frameworks** | ESX, QBCore, QBox (auto-detected by `rps_lib`) |

| **Notifications** | codem-supreme-notification, ox_lib, framework default (via `rps_lib`) |

| **Phone** | lb-phone, qb-phone (via `rps_lib`) |

| **Banking** | qb-banking, Renewed-Banking (via `rps_lib`), esx_addonaccount |

## ๐Ÿ“ฆ Requirements

- [ox_lib](https://github.com/overextended/ox_lib)

- [oxmysql](https://github.com/overextended/oxmysql)

- `rps_lib`

## โš™๏ธ Installation

1. Put `rps_taxes` in your resources folder

2. Add to `server.cfg` after ox_lib, oxmysql, your framework and rps_lib:

ย  ย ```

ย  ย ensure rps_lib

ย  ย ensure rps_taxes

ย  ย ```

3. Set your tax rates, interval and accounts in `config.lua`

  1. *(Optional)* Paste your Discord webhook URL into `server/webhooks.lua` and set `Config.Webhook.enabled = true`

  2. *(ESX + revenue split)* Make sure every account you list exists in your `addon_account` table (e.g. `society_government`)

6. Restart and check the console โ€“ it prints the framework, phone, bank and notification system it found

## ๐ŸŽฎ Commands

| | |

|---|---|

| `/collecttaxes` | Run a tax collection right now (admin) |

| `/checktax [id]` | Show a player's bank balance, vehicles and what they'd pay, without charging them (admin) |

| `/testtaxwebhook` | Send a test message to your Discord webhook (admin) |

All commands work from the **server console** too. Admin = `admin` / `superadmin` group on ESX, framework admin permission on QBCore / QBox.

## ๐Ÿงฉ Exports (server)

```lua

exports.rps_taxes:CollectTaxes() ย  ย  ย  ย  ย  ย  ย  ย  -- run a cycle, returns a summary incl. deposits

exports.rps_taxes:ProcessPlayerTax(source) ย  ย  ย  -- tax one player now

exports.rps_taxes:CalculatePlayerTax(source) ย  ย  -- { bankTax, vehicleTax, bankBalance, vehicleCount } โ€“ no charge

exports.rps_taxes:GetPlayerVehicleCount(identifier)

```

Use `CalculatePlayerTax` to show players their upcoming tax in a city hall menu or phone app.

## ๐Ÿ”ง Config highlights

- Tax interval, collect on start, start delay, currency symbol, debug mode

- Bank tax %, minimum balance, max tax, exempt jobs

- Vehicle tax per vehicle, minimum vehicles, max tax, vehicle table, exempt jobs

- Allow negative balance (debt) or skip players who can't pay

- Revenue accounts, shares, per-tax split and transaction reasons

- Notification position, duration and types

- Phone mail, banking alert, sender name / number, mail subjects

- Discord events, colours, identifiers, throttle and per-cycle cap

- Every player-facing message and mail text

---

**Version:** 1.1.0

*Feedback and bug reports welcome โ€“ [support link]*