good evening I come to you because I’m at my wit’s end
First of all I would like to clarify a certain point before anyone comes to ask me this question.
I reinstalled 3 times fivem
I reinstalled my server 10 times
I tested on another machine
Is I am strictly No F8 or logs , or mysql , no error
Here’s my problem, I’m strictly no peds on the server, no peds on the sidewalk, on the road or even on the parking lot, ghost town, I’m not any script that manages the density of Pnj, I tried to put one to see if it will put my nothing,
I tested on a blank base with only the server-data base and no peds
this function can be placed anywhere it will remove all the peds from the map in a loop? For example in a loading script or can it be placed anywhere ?
It is weird though - if you’re only using the “vanilla” resources that come with the FXServer package that should not be a thing regardless. Something’s probably borked in either your FiveM client or the server itself.
The order in which you start this in regard to other resources should not matter as it’s a simple client-only script. Just make it and start it. I will be very puzzled if that still doesnt allow peds to spawn.
Well yeah, but if it’s ThisFrame, then to take effect consistently you need to run it every frame, hence the Wait(0) - that’s every single frame, although I think you know that
And yes I tried actually running that native without the Wait some time ago, it crashed on me
Ok then I just bought a second dedicated machine for 70 euro WHEN THE BUG was there, I’m currently a very bad developer, I thank you SO MUCH for your help it should be a small topic because I’ve been looking for 1 week literally.