A simple FiveM script for reducing NPCs density, written in Lua.
cd resources
git clone https://github.com/man0s/ReducedNPCs [scripts]/reducednpcs
- Download the git repository https://github.com/man0s/ReducedNPCs/archive/master.zip
- Put it in the
[scripts]
directory
The script's default density value is 0.5, you can change it by editing the variable DensityMultiplier
in client.lua
file.
- Add this in your
server.cfg
:
start reducednpcs
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/.