Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Dec 23, 2020
Dec 23, 2020

FiveEMS Premium beta 1.9.02 ReadMe

for Premium Only This is an Expansive mod meant to bring realisim to EMS Roleplay. Thanks to the contributing devs without you this mod would not be possible. This mod is still in Beta but is in a stage where it can be released to the general public for improvements

#Your file will be delivered to keymaster assests tab, script will only work on servers attached to that keymaster account

To unlock this mod get it here https://store.candimods.com also check out the Wiki https://github.com/candimods/FiveEMS_Premium/wiki

🆕 features

  1. optimised for esx

Troubleshooting FiveM Escrow Issues

Common Errors Note that you need server version 4752 or above to run resources using this feature.

Error parsing script / Failed to load script Your server artifacts are likely outdated. Update your server to version 4752 or above.

You lack the required entitlement to use Try restarting your server and make sure your server license key is correct. If you bought the resource on the wrong account, you can transfer it to another account on keymaster.

Failed to verify protected resource Files were possibly corrupted during transfer. Ensure hidden files are copied; the .fxap file in a protected resource must be included. Some FTP programs skip these files.

On Zap you must put your server key in your zap settings for this script to work, some zap servers also need argentum to work, contact Fivem to clarify this.

Install

Please Install Dpemotes to carry the medical bags included

if you have the SAFD Pack please remove the stretchers that was included in the stream fodler including the props, as they will interfere with the update for FiveEMS 	Props and stretchers.
  1. Drag and Drop

    FiveEMS

    folder fo your resources folder, rename or make sure the folder is named

    FiveEMS

    FOLDER MUST BE NAMED FiveEMS or it wont work!!! you may need to rename new_config.lua to config.lua, did this so on updates you dont overide ur old config.lua.

**Install for ESX Servers** For ESX users : Run the items.sql, delete the "ui" folder and the "fxmanifest.lua", and Rename the "fxmanifest_esx.lua" into "fxmanifest.lua"

For non-ESX users : Delete the "fxmanifest_esx.lua" 2. edit the config.lua and add perms (rename to config.lua) 3. add ensure FiveEMS to your server.cfg Please remove any previous versions of this script 4. Press F7 to open menu, edit controls in config.lua 5. walk up to any compatible vehicle or stretcher to get a menu display option. enjoy!

script is WIP your input is appreciated and your sugestions is what has made this script so expansive. follow for updates!!! for support and compatible ambulances and stretchers please visit https://discord.io/candimods

Soms Rules

  1. Only the Driver, The Paramedic with the keys can control the outside controls, doors, and stretcher, the other Paramedic should carry the medical bags.
  2. Tents are props replacements they can be deleted via text commands

Config.lua

Set up your config, input your license key, whitelist ids, and set wheather you want to use perms or set the script to public use. You can now diable treat command and add stretcher offsets for left and right.

Config              = {} -- nothing goes here
Config.Ver = 'Loaded version 1.7a FiveEMS - Developed and Licensed by Candi Mods Developpement' -- don't edit this 
Config.Key = 'null'  -- put your key here

Config.WhiteListOnly = {
  ['Spawn_Stretcher'] = false, -- Can anyone spawn a stretcher or only the whitelisted players ?
  ['Take_Bed'] = false,  -- who can take the stretcher 
  ['Do_Action'] = false, -- whitelist ems options in stretcher menu
  ['Do_Anim'] = false, -- whitelist patient options in stretcher menu
}

Config.WhiteList     = {
  ['ip:127.0.0.1'] = true,
  ['licence:123456789']  = true,
  ['xbl:123456879']      = true,
  ['live:123456789']     = true,
  ['discord:123456789']  = true,
  ['steam:123456789']    = true,
}

Adding More Vehilces and Editing Keys

Config.Hash = {
	{hash = `20f450ambo`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `16ramambo`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `safdm2`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `ambulance`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `safdm3`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `safr2`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `emsgator`, detection = 2.4, depth = -1.0, height = 0.0},
	{hash = `polmav`, detection = 2.0, depth = 1.0, height = -1.0},
	{hash = `ec135med`, detection = 3.0, depth = -0.5, height = -0.25},
	{hash = `airambulance`, detection = 3.0, depth = -1.25, height = -0.25},
	{hash = `e450b`, detection = 2.4, depth = 0.10, height = -0.35},
	{hash = `h145c`, detection = 3.0, depth = -1.25, height = -0.10},
}
Config.ItemsVeh = {
  -- {hash = `name of vehicle`, item = 'es_extend item name', remove = how many item to remove on use},
  {hash = `Stretcher`,          label = 'Stretcher', type = 'veh',  item = 'stretcher',  remove = 1}, -- When using the stretcher  item, it will spawn a Stretcher vehicle and remove 1x item
  {hash = `stryker_M1`,         label = 'M1 Isolation', type = 'veh',  item = 'stretcher2', remove = 1},
  {hash = `stryker_M1_coroner`, label = 'M1 Coroner', type = 'veh',  item = 'stretcher3', remove = 1},
  {hash = `prop_ld_binbag_01`,  label = 'Decon Tent', type = 'prop', item = 'stretcher4', remove = 1}, -- When using the stretcher  item, it will spawn a prop_ld_binbag_01 prop and remove 1x item
  {hash = `mxpro`,                    label = 'MxPro', type = 'veh',  item = 'stretcher5', remove = 1},
  {hash = `stretcher_basket`,      label = 'basket', type = 'veh',  item = 'stretcher6', remove = 1},
  {hash = `prop_gazebo_02`,  label = 'Blue Tent', type = 'prop', item = 'stretcher7', remove = 1},
  -- {hash = `ferno`,      label = 'Ferno', type = 'veh',  item = 'stretcher7', remove = 1}, -- dont spawn will crash
  -- {hash = `fernocoroner`,      label = 'Ferno Coroner', type = 'veh',  item = 'stretcher7', remove = 1}, -- dont spawn will crash
}

Config.Press = {
	open_spawner = Keys["F7"],
	open_menu = Keys["Y"],
	take_bed = Keys["E"],
	do_action = Keys["E"],
	out_vehicle_bed = Keys["E"],
	release_bed = Keys["B"],
	in_vehicle_bed = Keys["E"],
	go_out_bed = Keys["E"],
	open_close_doors = Keys["E"],
	extend_powerload = Keys["Z"],
	take_stow_stretcher = Keys["G"],
	extra_1 = Keys["CAPS"],
	lights = Keys["ENTER"],
}


Config.Language = {
	name_hospital = 'Stretcher',
	open_menu = 'Press ~b~E',
	do_action = 'Press ~INPUT_CONTEXT~ to interact with stretcher',
	take_bed = "Press ~INPUT_CONTEXT~ to take stretcher",
	release_bed = "Press ~INPUT_SPECIAL_ABILITY_SECONDARY~ to drop stretcher",
	in_vehicle_bed = "Press ~INPUT_CONTEXT~ to stow stretcher",
	out_vehicle_bed = "Press ~INPUT_CONTEXT~ to retrieve stretcher",
	go_out_bed = "Get Out of Bed",
	delete_bed = "Remove Bed",
	fold_bed = "Fold Bed",
	toggle_iv = "Toggle IV Pole",
	toggle_lp15 = "Toggle Lifepak15 Defib",
	toggle_lucas = "Toggle Lucas 3",
	toggle_backboard = "Toggle Backboard",
	toggle_scoop = "Toggle scoop",
	toggle_seat = "Toggle Headrest",
	lit_1 = "Bed without matela",
	anim = {
		spawn_command = "Litter",
		lie_back = "Lie on back",
		sit_up = "Sit up",
		sit_right = "Sit on the right side",
		sit_left = "Sit on left side",
		convulse = "Recieve CPR",
		death = "Lay Still",
		pls = "Lay sideways",
	}
}

Config.lit_1 = {		--- coods every anim coords - z up and down - r is rotation - body
    {anim = "savecouch@",lib = "t_sleep_loop_couch",name = Config.Language.anim.lie_back, x = 0, y = 0.1, z = 1.2, r = 180.0},
    {anim = "anim@gangops@morgue@table@",lib = "body_search",name = Config.Language.anim.death, x = 0, y = 0.1, z = 1.52, r = 180.0},
    {anim = "amb@prop_human_seat_chair_food@male@base",lib = "base",name =Config.Language.anim.sit_right, x = 0.0, y = -0.2, z =0.55, r = -90.0},
    {anim = "amb@prop_human_seat_chair_food@male@base",lib = "base",name = Config.Language.anim.sit_left, x = 0.0, y = -0.2, z =0.55, r = 90.0},
    {anim = "timetable@jimmy@mics3_ig_15@",lib = "mics3_15_base_jimmy",name = Config.Language.anim.sit_up, x = 0.0, y = 0.15, z =1.52, r = 180.0},
    {anim = "missheistfbi3b_ig8_2",lib = "cpr_loop_victim",name = Config.Language.anim.convulse, x = 0.0, y = 0.1, z = 1.52, r = 175.0},
    {anim = "amb@world_human_bum_slumped@male@laying_on_right_side@base",lib = "base",name = Config.Language.anim.pls, x = 0.2, y = 0.1, z = 1.6, r = 100.0},
}

Config.Lits = {
	{lit = `stretcher`,          distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
	{lit = `stryker_M1`,         distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
	{lit = `stryker_M1_coroner`, distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
	{lit = `mxpro`,              distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
	{lit = `stretcher_basket`,   distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
	{lit = `ferno`,   distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
	{lit = `fernocoroner`,   distance_stop = 2.4, anims = Config.lit_1, title = Config.Language.lit_1},
}```
# Five EMS Menu
F7 Menu, change keys and add more stretchers and vehicles in the config.lua.
will spawn compatibile stretchers, you can also change menu location on your screen and the design.
and Hazmat Tent setup, be sure to setup on a flat ground or surface. 

```xml
  -- {hash = `name of vehicle`, item = 'es_extend item name', remove = how many item to remove on use},
  {hash = `Stretcher`,          type = 'veh',  item = 'stretcher',  remove = 1}, -- When using the stretcher  item, it will spawn a Stretcher vehicle and remove 1x item
  {hash = `stryker_M1`,         type = 'veh',  item = 'stretcher2', remove = 1},
  {hash = `stryker_M1_coroner`, type = 'veh',  item = 'stretcher3', remove = 1},
  {hash = `prop_ld_binbag_01`,  type = 'prop', item = 'stretcher4', remove = 1}, <--hazmat tent-->  -- When using the stretcher  item, it will spawn a prop_ld_binbag_01 prop and remove 1x item
  {hash = `mxpro`,			    type = 'veh',  item = 'stretcher5', remove = 1},
  {hash = `stretcher_basket`,	type = 'veh',  item = 'stretcher5', remove = 1},

if you follow the above convention you can add more props to this menu and restrict it to ems only.

everytime you spawn a new onject the script will remove the last closet object as a result any iteams you have equiped may fold back into your inventory

Stretcher Menu

Allows you to toggle on/off extras on the stretcher it is setup for the main stretcher, with the following menu options To return items to your inventory select FOLD BED in the menu, this will return any close objects to your inventory Walking up to a compaitble stretchers displays the following UI options

  1. Longboard
  2. Scoop Stretcher
  3. EKG Monitor
  4. IV Pole
  5. Lucas3
  6. Scoop
  7. Lay flat
  8. Lay still
  9. sit on left side
  10. sit on right side
  11. CPR convulsions animation
  12. Get out of bed
  13. Fold Bed - removes or deletes stretcher

Vehicle UI

Walking up to a compaitble vehicles displays the following HUD options

  1. toggle compartment doors open/close and scene lights
  2. extend poweload
  3. stow stretcher
  4. opwn/close rear doors

transport players to the hospital for authenthic roleplay.

edit the controls in the config.lua

Old version requires warmenu, this version does not

ESX inventory management

compaibility was added by contributing dev more stretchers and prop spawining ability added, Only works in ESX

For ESX Server you must remove the UI folder edit the FxManifest.lua to reflect this, as adding items.sql to your database will allow players to pull these new EMS items from there inventory and return it.

This mod is othercompatible with all other server bases and is a standalone script otherwise not dependent on using the inventory management system.

ESX Features Preview https://youtu.be/lNZhb-iV0ak

Included Stretchers:

abiility to have more than one compatible stretcher

  1. Stryker M1 Stretcher
  2. Stryker M1 Coroner Stretcher 🆕
  3. Ferno Stretcher - crashes 💔
  4. Ferno Coroner Stretcher - crashes 💔
  5. Coronavirus Stretcher
  6. Rugged MX Pro Stretcher - buggy
  7. Basket Stretcher 🆕

Props Spawning

  1. Hazmat Tent Set up - prop_ld_binbag_01 WIP looks like this https://www.youtube.com/watch?v=gHTuxDsa438
  2. Blue small tent for smaller operations
  3. Ti use included Medical Props use Dp emotees download here https://forum.cfx.re/t/dpemotes-1-7-390-emotes-walkingstyles-keybinding-dances-expressions-and-shared-emotes/843105/111

https://forum.cfx.re/t/dpemotes-1-7-390-emotes-walkingstyles-keybinding-dances-expressions-and-shared-emotes/843105/111

Delete Tent Chat Commands

/delbluetent /delhaztent

Interaction with Game A.I. Peds

  1. You can place AI peds on the stretchers, by stepping back and making sure the AI ped is closer to the strether than you are, open the E interaction menu, and select lay back, the AI ped will attach to the stretcher.
  2. Only AI peds who are Alive will attach correctly, dead peds attach weird as showed in the Video, unbale to fix this, you should prob heal the ped or freeze an A.I ped for it to work as intended.
  3. You can now use /treat to heal a dead ped and freeze them for transport

Interaction with other Players (FiveM MP)

  1. Only other players can place themselves on the stretcher!!
  2. EMS cannot place a Player on the stretcher, only the other Player can put themselves on the stretcher.
  3. The player on the stretcher can toggle an animation such as cardiac arrest cpr, or sitting up via the E interaction menu

Using DpEmotes

to spawn EKG Monitor, Medical bags

Press U to pass out Animation

  1. /e backpack - puts on lucas backpack
  2. /e breif3 - EKG Monitor in right hand
  3. /e suitcase - Medical bag in right hand

Player can only have one animation per player at a time. player can carry the stretcher with the medical bags on back.`

Compatible vehicles:

Check out the wiki page for more information on how to make your mod compatible https://github.com/candimods/stretchermod/wiki

  1. 2020 Rambulance
  2. 2020 Ford F450 Ambulance
  3. EMS John Deer Gator & Trailer *
  4. E450 Ambulance
  5. https://www.lcpdfr.com/downloads/gta5mods/vehiclemodels/26170-2015-2016-ford-f450-superduty-single-cab-ambulance-als-11/
  • more compaibility to be added later
  1. https://store.candimods.com/package/4215577 EMS Gator and Ambulances included in the pack
  2. e450 ambulance https://store.candimods.com/package/4378187
  3. more on store.candimods.com

More Helos by medic909 get it here ==>> https://discord.gg/FqXmby86Fy

EMS Gator and CoTrailer

  1. Please use a comparable script to attach the gator to the trailer, or it will fly offf when you drive away Here is an example https://forum.cfx.re/t/release-c-vehicle-attachment-and-tow-resource/1808658

Custom EUP Clothing

FiveEMS EUP Clothing by Novo get it here https://discord.gg/cGGnRpw

CandiMods Terms and Conditions

OPEN FOR COLLABOARTION WITH OTHER VEHICLE AND SCRIPT DEVS, ONLY A GOOD TEAM CAN GET THIS MOD FINISHED. SUBMIT A PULL REQUEST OR ISSUE TO GET COLLAB.

Candi Mods Terms and Conditions For Public Mods >> you may use my models in fivem or SP, you are NOT allowed to rip, re upload, redistribute, or repackage this modification. you are not allowed to upload this file and claim it as your own on any site, server, local, drives, cloud drives, or otherwise. you are NOT allowed to UNLOCK the vehicles files. texture devs may link to public downloads only. Exceptions apply to script developers who use EMS Medical Props mods as part of there Script. Note you may not receive updates. its good to just link to the original download. Please credit the authors of this mod where appropriate on your website, blog, or download.

FiveEMS Terms and Conditions Do not share the drive links they are unique to you , you may use the FiveEMS Premium and Legacy versions in 5M, on your server or you are a trusted member of a server ad wish to share or donte the file, you are responsible for the files. You may not resale, they may not resale, you may collaborate in this discord only. You may use on your stream and take screenshot and video showcases, link to my server here, you are not allowed to upload this file and claim it as your own on any site, server, local, drives, cloud drives, or otherwise. Every owner must have @FiveEMS Premium User tag for Premium Version or @FiveEMS User tag for Legacy Version to utilize this mod, its your license, removal of the tag or leaving the server suspends your access to this pack. if you need help post in the channels below for assistance. DO NOT LEAK OR SHARE YOUR FILES WITH ANYONE CONTACT AN ADMIN IF YOU NEED HELP OF HAVE ANY QUESTIONS For help #support or #🚒-safd-general. Users of the legacy free edition must abide by the same rules. [ex. you can only get support or help from someone with the same tags as you. ]

You are not allowed to upload this file and claim it as your own on any site, server, local, drives, cloud drives, or otherwise. you are NOT allowed to UNLOCK this file. texture devs may link to public downloads only