Sadly getting time warnings on slow computers is nothing I can do about unless major refactoring happen & I come up with improved code. That’s why I tend to extend the wait time for all the scripts I’m maintaining, but it can cause stuff to blink since x should run every frame, but on a fast computer doesn’t have to.
I recently started joining random RP servers, and noticed that (almost) every server I joined had major performance issues (fps), gotta be those never ending loops with basicly no wait time, running every damn frame.
Everyone asking for implemeneting keys: no. it’s way too fucking easy to change from checking the player job to checking if the player has a key on him. Sure thing it could be a nice addition but currently I have other things on my mind, so either implement it yourself or stop thinking that people will take all your feedback.
All good. I don’t get them at all but yes the lower end computers and slower internet provider people are seeing it. Just wanted to make sure I wasn’t the only one experiencing it
@Skrubby What’s your server specs? Does is happen when you open a certain amount of doors? Is there a lot of people close to the esx doors? Have you added doors in the config?
really sweet guide i thank you for directing me too that! server specs are 32 gig of ram. with an 6th gen i7. its running in a docker on linux. its me alone on the server and as far away from the doors as i can be. when the script is turns on the biggest amount lost is FPS noticeably right away is atleast 5 Frames
It has nothing to do with the 3d text. The code for getting doors in your area is very shitty and needs to be changed out. There’s plently of better ways to get nearby doors.
Hi i want to use your script but i have 1 problem where do i change so that other cops also can use it because im owning a danish server and there a cop is called Politimand and in this its probably called Cop please help me change it i cant find it in the config or in the other files
If you mean keys as item you have to add keys in your database and create marker that police officers will be able to take them or only boss can have keys. Next you have to add some lines of code that will check if player have keys in inventory its very simple. Sorry for my eng