Removing NPC's


#1

Hello, I want to remove NPCs from my server. How can I do it? Thanks.


#2

@nobody

Hello I know how to do it, I have a script to make all the npcs and cars disappear from the map to the silent hill I use it for my mini series of resident evil in fivem


#3

Post your findings then… It’s pretty pointless to post in a thread that hasn’t had activity for a year, saying you know how to do something. Instead, improve the discussion.


#4

I use this plugin, don’t know where I got it from tho, I think vRP but not sure, whoever made this, credits to him.

npc_control.zip (2.7 KB)

Just realized this was a year ago lmao.


Removing npc's :"'
Disable all NPCs dont work // And possible to turn animals on?
#5

Ehm this script removes ALL NPC’s for me. However, can’t see why in the codes. Any idea?


#6

Go to CFG and change the values.


#7

Yes I tried that. Didn’t change anything, which values should I use?


#8

1.0 in the cfg.lua file
I think that’s how you make it so there’s lots of them.


#9

how do i install it on a vrp server do i just put the file in resorse and add it to server start config


#10

How do I edit the density I edit and does not handle