Wanted Level System [UPDATE 2021/12/15] [ESX] [PAID]

Screen Shot

Video Click

:arrow_up_small::arrow_up_small::arrow_up_small::arrow_up_small::arrow_up_small::arrow_up_small:

Performance

Idle - 0.03ms

While working (For Police)- 0.12ms

ABOUT

  • INFINITY SUPPORT
  • A great Idea for your Server
  • Clean and understandable coding
  • Fully optimized without FPS Drop
  • Compatible with all ESX versions
  • Easy to set up
  • Open source, no IP-Lock.
  • Server-synced

Functions

  • Adjustable for all types of scripts (Bank Robbery , holdup …)
  • Admin can set Wanted Level for each user [/setwanted]
  • Admin can Check Wanted Level of each user[/checkwanted]
  • Police can remove wanted level of each player[/rw [ID] ]
  • Wanted stars are all in HTML
  • You can set time for each users wanted level removed (And Also Offline Player)

REQUIREMENTS

  • ESX
  • mysql-async

Config

Config.lua

Config.removelevelcmdpolice = "rw"

Config.timeremovewanted = 10

Config.admincheckwanted = "checkwanted"

Config.adminsetwanted = "setwanted"

Config.removewantedforofflineplayer = true

Config.amountremovewantedlevelpertime = 1

Config.perms = { --You can choose multiple permission group to have access to use the UI. 
  	['lvl5'] = true,
    ['lvl4'] = true,
    ['lvl3'] = true,
    ['lvl2'] = false,
    ['lvl1'] = false,
}


Using Wanted on other resources

  • server-side: ID is source of player
local xPlayer = ESX.GetPlayerFromId(source)
local Wanted = MySQL.Sync.fetchAll("SELECT wanted FROM wanted WHERE identifier = @identifier", {["@identifier"] = xPlayer.identifier})

wanted= Wanted[1].wanted
  • client-side: No need for id
local wanted= exports["atawanted"]:GetWanted()
  • Adding Wanted Level (only server-side for security)
TriggerEvent("ata_wanted:addwanted", id, amount)
  • Removing Wanted Level (only server-side for security)
TriggerEvent("ata_wanted:removewanted", id, amount)

Buy Tebex

Check out my other scripts here:

:rainbow: Crypto Miner

:rainbow: Tired And Sleep

:rainbow: Level System

2 Likes

qbcore please

2 Likes

nice one

local Wanted = MySQL.Sync.fetchAll(“SELECT wanted FROM wanted WHERE identifier = @identifier”, {["@identifier"] = xPlayer.identifier})[1].wanted
in one line

Is soo very essy men… very good.

great script :slight_smile:

UPDATED
NOW You Can Use In Infinity Onesync Server

Can anyone help me, I keep getting this error,

Send us a ticket so we can fix your problem as soon as possible
Ways to contact us are written in ata.tebex.io

I purchased this script from the Fivem Store I made a ticket on there but never got a response, can u help

You purchased it from an illegal site and we only support and update customers who buy on Tebex

(( This site you purchased is a scammer ))

WOW… i diden know that :open_mouth: Hey thanks for telling me i wont be ordering from that site anymore.

OP request