/ambulance-mission

Adds an ambulance mission to FiveM/ESX.

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

ambulance-mission

Build Status Coverage Status

A script based on the solo mission to pick up NPC patients and transport them to the hospital. Just get in an ambulance and follow the prompt.

Download & Installation

Using Git

cd resources
git clone https://github.com/propstg/ambulance-mission.git [esx]/ambulance-mission

Manually

Installation

  • Add this to your server.cfg:
start ambulance-mission

Developing

Unit Testing

setting up for unit testing (linux)

sudo apt-get install lua5.3 liblua5.3-dev luarocks
sudo luarocks install busted
sudo luarocks install mockagne
sudo luarocks install luacov
sudo luarocks install luacheck

running unit tests

The runTests.sh script will run the tests with busted, run luacov to generate the coverage report, and then print the coverage summary.

~/ambulance-mission $ ./runTests.sh

Legal

License

ambulance-mission

Copyright (C) 2019 Gregory Propst

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.

You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.