Install the dependencies: es_extended, oxmysql, ox_lib. Setup the convars:
setr m-development:target 1
to use ox_targetsetr revivestation:medic ["ambulance", "paramedic"]
to set the medic jobssetr revivestation:nearbyplayermenu 1
to open a context menu where you can select the player you want to revive (if set to 0 it will just pick the closest)setr revivestation:shownames 1
to show names when reviving (if set to 0 it will just show the id)setr revivestation:maximummedics 2
to set how much medics can be online maximum
Configure the stations in the data folder. The file returns an array of stations. Every station has this LuaLS export.
---@alias PedAnimation { scenario: string }|{ dict: string, anim: string, flag: number }|nil;
---@class ReviveStation
---@field label string? defaults to the general title;
---@field coords vector4;
---@field payment { price: number, account: string };
---@field blip { id: number, colour: number, scale: number? }?;
---@field ped { model: number, animation: PedAnimation? }?;
Documentation not made yet, you may seek support via GitHub Issues or our Discord server.
https://github.com/m-dev-eu/md_revivestation/releases/latest/download/md_revivestation.zip
This resource is licensed under the GNU General Public License v3.0.