25.03.2013, 09:04
Hi.
I tried to make a clock speedometer with 2D model preview rotation, but textdraw always blinking...
Code:
Under OnPlayerUpdate. It blinks: black box - object - black box - object - black box - object and etc...
Thanks for solutions
I tried to make a clock speedometer with 2D model preview rotation, but textdraw always blinking...
Code:
Quote:
if(IsPlayerInAnyVehicle(playerid)) { TextDrawSetPreviewRot(Spidom[25], 0.0, -50-GetVehicleSpeed(GetPlayerVehicleID(playerid), true), 180.0, 1.0); TextDrawShowForPlayer(playerid, Spidom[25]); } |
Thanks for solutions