Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPS drop after some minutes #5

Open
krazikilla opened this issue Apr 16, 2018 · 1 comment
Open

FPS drop after some minutes #5

krazikilla opened this issue Apr 16, 2018 · 1 comment

Comments

@krazikilla
Copy link

This script is causing quite big fps drops after some minutes.
Test:
Run server without this script, join and mess around for 15min.
-> fps will stay at 60 or min 58.

Run this script and mess around for 15min,
-> fps will drop down to 50 and even below pretty fast.

When you rejoin, its ok again for a few minutes, until it drops again.

@raynaldograndy
Copy link

i found it because ESX.Game.SpawnObject with default trigger every 500ms, always check if player not hold the weapon, it will attach on their body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants