14.06.2015, 18:14
Ok, i have been working on a analog speedometer and it was looking good until i tested it.
Problem i have is with a needle textdraw (Single textdraw - Model Preview). To simulate it moving im using OnPlayerUpdate and im destroying and creating that TD each time.
On client side there are multiple problems. First needle is "flickering" and as far as i understand these shall not be happening but it does. (I understand it can not be smooth but even when it does not move its still flickering)
Second and more important problem i noticed is that each time i update needle textdraw there is a FPS drop, and interesting thing is if you are switching to some radio station with long name (For example: Radio los santos) you will notice that station name is acting weird at the moment you update TD...
Please note that i have been using similar (Progress Bar) textdraws under OnPlayerUpdate and i didnt have these problem. Im pretty sure these is caused due to Model Preview.
Problem i have is with a needle textdraw (Single textdraw - Model Preview). To simulate it moving im using OnPlayerUpdate and im destroying and creating that TD each time.
On client side there are multiple problems. First needle is "flickering" and as far as i understand these shall not be happening but it does. (I understand it can not be smooth but even when it does not move its still flickering)
Second and more important problem i noticed is that each time i update needle textdraw there is a FPS drop, and interesting thing is if you are switching to some radio station with long name (For example: Radio los santos) you will notice that station name is acting weird at the moment you update TD...
Please note that i have been using similar (Progress Bar) textdraws under OnPlayerUpdate and i didnt have these problem. Im pretty sure these is caused due to Model Preview.