FiveM-Scripts / Cops_FiveM

A cops script for FiveM
https://forum.fivem.net/t/release-cops-fivem/17460
GNU Affero General Public License v3.0
69 stars 56 forks source link

Resource time in ̶h̶̶̶e̶̶̶l̶̶̶i̶̶̶c̶̶̶o̶̶̶p̶̶̶t̶̶̶e̶̶̶r̶̶̶s̶̶̶ ALL VEHICLES #171

Closed Flohhhhh closed 3 years ago

Flohhhhh commented 4 years ago

While riding in any seat of a helicopter, and another player gets into the helicopter, resource time sky rockets and then slowly climbs. If they get out, it immediately goes back down to normal levels, but if they get back in, it goes back to where it was and keeps climbing from where it left off.

This results in 10ms of CPU time after about 20 minutes of flying with a passenger.

Video to show issue: https://i.gyazo.com/8435498bc24d0a4da9e69f65e62710d3.mp4

Flohhhhh commented 4 years ago

Update: This actually occurs in any vehicle, and is compounded by the number of passengers you have. ex. 4 people in a car = 9ms of cpu time instantly