AI Judge

25.00 USD


ALL SCRIPTS ESCROWED USING FIVEM ESCROW SYSTEM

Works with R-Core Prison out the Box

ESX  Required

AI Court System

*Can NOW be edited to work with any MLO or Map (LA or NY, etc....)

StreetCode AI Judge (AI Court System) (youtube.com)



CONFIG PREVIEW:


--Edit Notificantion system

function ShowNotifyESX(msg)

if Config.NotySystem == 'ESX' then

    ESX.ShowNotification(msg)

--------------------------------

---GKS Phone    

elseif Config.NotySystem == 'GKS' then

    TriggerEvent('gksphone:notifi', {title = 'LEO', message = msg , img= '/html/static/img/icons/vale.png' })

--------------------------------

---Quasar    

elseif Config.NotySystem == 'QS' then

    TriggerEvent('qs-smartphone:client:notify', {

    title = 'LEO',

    text = msg,

    icon = "./img/apps/whatsapp.png",

    timeout = 1500

})

-------------------------------

---lb phone--    

elseif Config.NotySystem == 'LB' then

    exports["lb-phone"]:SendNotification({

    app = "Birdy", -- the app to send the notification to (optional)

    title = "LEO", -- the title of the notification

    content = msg, -- the description of the notification

})

--------------------------------

    ---Add your own phone message function or uncomment esx.shownoti and commeent phone functon instead

elseif Config.NotySystem == 'CUSTOM' then


end    

    

end




function JailrelaseFunction(playerid) ---add your jail release function or trigger here and remove one already present.


    TriggerServerEvent('HD_Jail:UnJailPlayer2', playerid, true)


end


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Config              = {}

Config.NewESX = true

Config.Lawyers = {


    

    {name = 'highend', price = {min = 500000, max = 1000000} , label = 'High End Lawyer'},   ---do not change the nam only price and label

    {name = 'medend', price = {min = 30000, max = 50000} , label = 'Med Tier Lawyer'},

    {name = 'lowend', price = {min = 1500, max = 5000} , label = 'Low End Lawyer'},

    {name = 'free', price = {min = 50, max = 100} , label = 'State Apponted'},

    

    


Config.SetUpTest = false --true to use /court command to test and set up court to your likings..


Config.PayPhoneCoords = 1777.04, 2572.9, 45.8

Config.BackToJailCoords = 1784.79, 2589.03, 45.8





Config.PlayerCoords = -522.79, -190.12, 37.34

Config.PlayerH = 15.32

Config.PlayerLawyerCoords = -523.85,-190.8, 37.34

Config.PlayerLawyerH = 350.31

Config.ProsecutorCoords = -519.16,-188.04, 37.34

Config.ProsecutorH = 38.31

Config.JudgeCoords = -523.41,-184.88, 37.98

Config.JudgeH = 200.03

Config.Inmate1Coords = -521.44,-192.88, 37.34

Config.Inmate1H = 42.35

Config.Inmate2Coords = -522.31,-193.24, 37.34

Config.Inmate2H = 37.31

Config.Inmate3Coords = -523.05,-193.68, 37.34

Config.Inmate3H = 39.48

Config.Guard1Coords = -520.65,-185.41, 37.34

Config.Guard1H = 182.2

Config.Guard2Coords = -515.73,-187.51, 37.34

Config.Guard2H = 121.41

Config.Guard3Coords = -524.84,-192.84, 37.36

Config.Guard3H = 297.22