![[PAID] [UPDATED!] MFPD-Bodybag: Realistic Bodybag with ANIMATION and Coroner! main image](https://forum-cfx-re.akamaized.net/optimized/5X/9/6/7/9/9679acf0485b0237640063153a51172dcc424206_2_690x388.jpeg)
Price
UnknownA script by MajorFivePD
Price
Unknown3.0 MASSIVE UPDATE IS OUT!
NOW IT SUPPORTS TO PLACE MULTIPLE BODYBAGS!
2.0 was a big one with language configurations, modify the existent ones or add more!
Config.Languages = {
["en"] = {
bodybag_interaction = "Place in bodybag",
call_coroner = "Call coroner",
},
["de"] = {
bodybag_interaction = "In die Leichentüte legen",
call_coroner = "Leichenschauer rufen",
}
}
Config.CurrentLanguage = "en" -- Default language
Config = Config or {}
Config.Debug = false -- Set this to false to disable debugging
Config.Framework = 'Standalone' -- Options: 'ESX', 'QBCore', 'Standalone'
Config.Languages = {
["en"] = {
bodybag_interaction = "Place in bodybag",
call_coroner = "Call coroner",
},
["de"] = {
bodybag_interaction = "In die Leichentüte legen",
call_coroner = "Leichenschauer rufen",
}
}
Config.CurrentLanguage = "en" -- Default language
Config.ESX = {
AllowedJobs = { -- Define allowed jobs for ESX
'ambulance',
'coroner'
}
}
Config.QBCore = {
AllowedJobs = { -- Define allowed jobs for QBCore
'ambulance',
'coroner'
}
}
Config.HospitalLocations = {
{name = "LS Morgue", coords = vec3(238.6728, -1381.861, 33.73852)},
{name = "Paleto Bay Care", coords = vec3(-244.9511, 6333.368, 32.48932)},
-- Add more locations here
}
Config.BlacklistedModels = {
GetHashKey("a_c_deer"), -- Example: Deer
GetHashKey("a_c_coyote"), -- Example: Coyote
-- Add more model hashes here.
}
-- Model Settings
Config.BodyBagModel = "xm_prop_body_bag" -- The model of the bodybag
Config.CoronerModel = "policeold2" -- The vehicle model of the coroner
Config.CoronerPedModel = "s_m_y_autopsy_01" -- The ped model of the coroner
-- Animation Configuration
Config.PickupAnimDict = "amb@medic@standing@kneel@base" -- New dictionary with kneeling animation
Config.PickupAnimName = "base" -- Specific animation for kneeling and examining
Config.PickupAnimDuration = 5000 -- Duration of the animation in milliseconds
-- Vehicle Distances
Config.VehicleStopDistance = 10.0 -- Distance at which the vehicle stops from the bodybag
Config.CoronerApproachDistance = 5.5 -- Distance at which the coroner stops near the bodybag
Config.CoronerArrivalDistance = 4.0 -- Distance at which the coroner stops to park by the bodybag
-- Time Settings
Config.VehicleWaitTime = 20000 -- Time in milliseconds for how long the vehicle drives before despawning
-- Blip Settings
Config.BlipSprite = 225 -- Blip sprite for the coroner vehicle
Config.BlipFlashes = true -- Blip flashes when the coroner arrives
-- Speed Settings
Config.DriveSpeed = 10.0 -- Speed at which the coroner drives to the bodybag
Config.DriveStyle = 537396031 -- Driving style for the coroner when driving
-- Coroner Spawn Distance
Config.MinCoronerSpawnDistance = 300 -- Minimum distance for coroner spawn
Config.MaxCoronerSpawnDistance = 500-- Maximum distance for coroner spawn
First Method: Drag MFPD-Bodybag to your server resources folder and go to your server.cfg and add ensure MFPD-Bodybag
Second Method: Create or add this resource to your scripts folders e.g: [Scripts];
Every resource inside this folder with brackets will start up with the server by just adding ensure [Scripts] !
Code is accessible | No |
---|---|
Subscription-based | No |
------------------------------------- | ---------------------------- |
Lines (approximately) | 520+ |
------------------------------------- | ---------------------------- |
Requirements | ox_lib, ox_target |
------------------------------------- | ---------------------------- |
Support | Yes (Via DM or Comments on post) |
------------------------------------- | ---------------------------- |
No approved reviews found for this script yet.