esx_core icon indicating copy to clipboard operation
esx_core copied to clipboard

refactor(esx_skin/client/main.lua): Replace Sleep

Open feelfreetofee opened this issue 3 years ago • 0 comments

Sleep method has been replaced with a function trigger. Two threads involved with camera used to sleep until isCameraActive boolean were true. Now Threads are created when functions CameraControl() and CameraRotation() are triggered. Functions are triggered once isCameraActive is true and while loops breaks when isCameraActive is set to false.

feelfreetofee avatar Aug 02 '22 21:08 feelfreetofee