AI Medic Pro

25.00 USD


https://www.youtube.com/watch?si=5mUSvWFv82sst5Tu&v=DamtDAGXFBk&feature=youtu.be

ALL SCRIPTS ESCROWED USING FIVEM ESCROW SYSTEM

Package Description

An advanced system that allows servers to have AI medics in game. Great for servers with low or no medic count.  Also offers a morgue feature that ties into the dead opp scripts or can offer character kills depending on config settings. Script has dependencies...

Dependency:

SteetCode EMS(EMS JOB  comes with pack)

SteetCode Life After Death(comes with pack)

SteetCodeDeadOpps(optional)

EMS Job

EMS Job with all the wanted bells and whistles for your server....

Crawl Feature

Allows players a second wind after being put down the 1st time to get away...

Medic

A AI medic that can be called to heal and revive dead players in server. 

Great to add to:

  • Servers with no medics
  • Servers where medics cant keep up with the pace of players dieing 

Morgue Team

A AI morgue team that can be called to get rid of bodies.

Great to add to:

  • Servers who use Character Kills(in chosen in config)
  • Servers that have issues with players respecting cool off time after dieing(will put players in cool off time automatically if using dead opps)



Assests Included In Package For Keymaster 

SteetCode Ai Medic Pro

SteetCode EMS

SteetCode Life After Death



Resource Integration

AI cops can work with any script that gives you the ability to add triggers to it. As long as you can add the trigger to the part where police is notified or what ever part you would like the triggers to trigger scripts will work with any script. Some Knowledge of scripts needed but not difficult at all.


Discord Support

All scripts come with support via discord. I prefer voice chat to help people out faster and more efficient


Config

--Edit Notificantion system

function ShowNotifyESX(msg)

    ---ESX.ShowNotification(msg)

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

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

end


Config                            = {}

Config.NewESX = true

----       medc          stuff


Config.RespawnPoint = {coords = vector3(332.99,-579.87, 43.32 ), heading = 169.29}

Config.Nurse = 's_m_y_autopsy_01'

Config.MedicPed = 'S_M_M_Paramedic_01'

Config.MedVehicle = "ambulance"

Config.MorgueVehicle = 'speedo3'   ----addon coroner van(I didnt make this but free asset cant remember designer name but shout out to them....

Config.MorgueFee = 50000  ---price in cash to call morgue

-- Bag Model

Config.bag_model = "xm_prop_body_bag"

Config.bag_hash = "xm_prop_body_bag"

Config.MultiSelections = true ---turn false if you dont want players to be able to respawn on spot

Config.Doctor = 3 -- minimum Amount of EMS to work

Config.Price = 1000 --- price for surgery needs to be the same as price in medsystem script

Config.RidePrice = 1000 --- price for ambulance ride

Config.InstantPrice = 3000

Config.ReviveTime = 20000  --in

Config.SirenChance = 90


Config.RevivePulse = 50 ---taps of E to revive

Config.LowPulse = 15   ---low notify

Config.HalfPulse = 30  ---halfway notify

Config.FullPulse = 50  ---- finish notify



Config.JobName = "ambulance"

Config.revivechance = 30 ---30%(Chance for CPR to revive )

Config.ChairTimer = 50000 ---time for player to sit in wheelchair after surgery

Config.NeedChairPercent = 50   ----(0-100 percent for chance to need chair after heal)

Config.SurgeryPrice = 1000 ---Same price as InvoicePrice from Hospital Medic Script(Important!!!!)

Config.StreetCodeClothes = true ---if using streetcode clothes system to remove clothes befoe surgery and give you item 


Config.HositalDropOff = {coords = vector3(359.21, -601.49, 28.65), heading = 0} 

Config.MorgueDropOff = {coords = vector3(359.21, -601.49, 28.65), heading = 0} 

Config.CKactive = false  ---true if character kill after morgue false sends to heaven(needs dead opp for false)



Config.BedSurgeryLocation = {coords = vector3(356.74, -585.85, 44.11), heading = 160.08}     

Config.BedSurgeryLocationHeading= 160.08



Config.SurgeonLocation1 = {coords = vector3(357.55 , -586.13 ,  42.32), heading = 0} 

Config.SurgeonLocation1Heading= 69.94

Config.SurgeonLocation2 = {coords = vector3(355.83 , -585.54 ,  42.32), heading = 0}     

Config.SurgeonLocation2Heading= 252.17



Config.FrontLobbyCoords = {coords = vector3(299.3, -582.31, 43.26), heading = 0} -- area where player wil spawn after ambulance drop off



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

------------------------------------------ GENERAL STUFF ---------------------------------------------

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

Config.Language = 'en'

Config.UsingESXLegacy = true -- If you are using ESX Legacy, set this to true and uncomment: '@es_extended/imports.lua' in fxmanifest.lua

Config.ReviveInvoice = 1000 -- Same price as surgery price from AI MEdic Script(IMPORTANT!!!!)

Config.HealPlayer = true -- Allow player to heal if is not dead

Config.UseRprogress = false -- Disable if you want to revive instantly https://forum.cfx.re/t/release-standalone-rprogress-customisable-radial-progress-bars/1630655

Config.EMSJobName = 'ambulance'

Config.EMSRequired = 3


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

-------------------------------------------- HOSPITAL CLERK PED STUFF -----------------------------------------------

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


Config.PedLocations = {

    {x =  308.56, y = -596.54, z = 43.28, h = 14.22}, -- Needs heading

  {x = 1826.66, y = 3686.53, z = 34.27, h = 247.55}, ---*Make sure to add a comma ^^^^

   {x = 5076.89, y = -4571.44, z = 5.99, h = 36.39}

}


Config.PedLocations2 = {

    {x =  305.1, y = -597.95, z = 43.29, h = 69.07} -- Needs heading

 

}


Config.RespawnPoints = {

    {coords = vector3(329.99, -579.57,43.32), heading = 66.54} 

    

}



-- You can find PED MODEL and hash here: https://wiki.rage.mp/index.php?title=Peds

Config.RequestModel = "s_m_m_doctor_01"

-- ^^ (Hash)

Config.PedModel = 0xD47303AC 


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

------------------------------------------ 3D TEXT STUFF ---------------------------------------------

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

Config.Text = {

    Scale = 0.32,

    Font = 4,

    Distance = 3.5

}






Config.Text1 = 'You have been charged'

Config.Text12 = 'For the ambulance ride...'

Config.Text2 = 'Medic is arriving'

Config.Text3 = "There is too many medics online"

Config.Text4 = "Not Enough Money"

Config.Text5 = "Wait Paramadic is on its Way"

Config.Text6 = "This can only be used when dead"

Config.Text7 = 'If no one is in surgery please use T/doctor ro clear surgery room!!!'

Config.Text8 = 'You have been charged'

Config.Text81 =  'for your surgery!!!'

Config.Text9 = 'Press E to fight for your life...!!!'

Config.Text10 = 'Your surgery was a success...Please stay safe and stay dangerous!!!!!!'

Config.Text11 = 'Please wait for the doctor to discharge you...!!!'

Config.Text12 = 'You have been DISCHARGED and can GO NOW!!!!!!'

Config.Text13 = 'No one needs surgery...'

Config.Text14 = 'Open the patient up...'

Config.Text15 = 'Perform Surgery...'

Config.Text16 = 'Close patient back up...'

Config.Text17 = 'Surgery was a success...'

Config.Text18 = 'You need a surgery kit to close up surgery!!!!'

Config.Text19 = 'I need help right here!!!'

Config.Text20 = "I can make it to the hospital!!"

Config.Text21 = "Not A OPTION"

Config.Text22 = 'Victim was shot in the head needs to be taken to hospital.'

Config.Text23 = "[E] to Sit/Push -  [X] to End Action/Delete"

Config.Text24 = "You are still sore use a wheelchair to heal, purchase from gift shop!!!"

Config.Text25 = "You feel way better now, stash your chair and hit the streets!!!"

Config.Text26 = "Somebody is already using the wheelchair!"


Config.DeathAnimations         = {

    ["car"] = {

        dict = "veh@low@front_ps@idle_duck",

        clip = "sit"

    },

    ["normal"] = {

        dict = "dead",

        clip = "dead_a"

    },

    ["revive"] = {

        dict = "get_up@directional@movement@from_knees@action",

        clip = "getup_r_0"

    }

}


---Tables to delete with Character Kll

Config.Debug = false

Config.DebugLevel = {

    'INFO',

    'CRITICAL',

}

Config.AllowedModules = {

    ['basic'] = true, --basic tables

    ['vehicles'] = false, --delete from owned_vehicles

    ['hotel'] = false, --rcore_hotel

}

Config.BasicTables = {

    {

        table = 'addon_account_data',

        column = 'owner',

    },

    {

        table = 'addon_inventory_items',

        column = 'owner',

    },

    {

        table = 'billing',

        column = 'identifier',

    },

    {

        table = 'owned_properties',

        column = 'owner',

    },

    {

        table = 'datastore_data',

        column = 'owner',

    },

    {

        table = 'phone_users_contacts',

        column = 'identifier',

    },

    {

        table = 'phone_settings',

        column = 'hex',

    },

    {

        table = 'recipe_player',

        column = 'player',

    },

    {

        table = 'user_documents',

        column = 'owner',

    },

    {

        table = 'users',

        column = 'identifier',

    },

    {

        table = 'phone_gps',

        column = 'hex',

    },

    {

        table = 'phone_settings',

        column = 'hex',

    },

    {

        table = 'twitter_accounts',

        column = 'identifier',

    },

}