Jump to content

BucketBull

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by BucketBull

  1. hey guys. I have a problem with my speedo. The picture is not the same in every resolution. I used guiGetScreenSize but it doesnt work. Here is the code: local resolution = {} resolution.Sx, resolution.Sy = guiGetScreenSize() resolution.X, resolution.Y = resolution.Sx/1920, resolution.Sy/1080 function speedo ( ) if isPedInVehicle (localPlayer) == false then return end dxDrawImage(resolution.X*1400,resolution.Y*760,resolution.X*512,resolution.Y*512, "files/speedo.png", 0, 0, 0, tocolor(255,255,255,200), false) end end Can you help me?
×
×
  • Create New...