Hello, basically it does what Title says.
This is client script, so in resources you will have to add client_script ‘script.lua’
https://gist.github.com/nobodyltu/9b691fdcb1022439a1bfb785917296fe
Like a boss!
Ow wow this is neat, mind if i use this as a little example thing on my wiki? Credited of course.
@kanersps Oh, of course! I would like you to use “Sycho(nobodyltu)” as a credit name if that wouldn’t be a problem.
@nobody Is there any way you can provide a screenshot of what the resources folder should look like?
@Luke192 https://gyazo.com/f2e97d75bb026a246071ca0f958f80f5 . Folder noped is needed. U can download it from here if u dont want to make it yourself https://dl.dropboxusercontent.com/u/90800505/noped.rar
Hi!
When I try to set SetPedDensityMultiplierThisFrame(1.0) and SetParkedVehicleDensityMultiplierThisFrame(1.0) there is always no peds… it’s normal? I like to have only peds, no vehicle…
Thanks
Is it possible to do something like this script but to ENABLE animals server side?
You could just spawn them randomly using CreatePed
Animals are blocked in the game EXE population code, you can file a feature request to the developers to have this changed.
when i try this my game crashed, is it still working?
I don’t know how to install this, please help?
where is your wiki ?
can you upload the folder ? pls. thx in advance .
there is no wiki, just take that code, create a new folder with 2 new text documents and change the extention to .lua , first notepad , remane it __resource , open it and add client_script ‘client.lua’ inside it, now on the second one, you rename it client.lua, open it , add the code , save the files. Now you should have client.lua and __resource.lua , take the folder with those 2 inside it and put it into server/resources , add the folder name to citmp-server.yml , clear the cache and start the server.
thx for the help appreciate it
oh , i tought is the old one that was down
Is there a way to disable only police peds?
If there is a way with the police mod fivem_cops but this in French and you will have to edit everything from scratch but you can do several things with the ^^ I leave you link