Jump to content

McDeKi

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by McDeKi

  1. I tried it before, and It works, but in wrong section of screen, http://imgur.com/d1VvFwD
  2. Hello! I have problem with dx, local x,y = guiGetScreenSize() function test() local xMysz,yMysz,cos1,cos2,cos3 = getCursorPosition() realneX,realneY = fullx*xMysz,fully*xMysz kameraHusta = dxDrawRectangle(x*0,y*0,x*1,y*0.20,tocolor(0,0,0,255)) if realneX > 0 and realneX < 0 + 1280 and realneY > 0 and realneY < 0 + 144 then outputChatBox("test") end end addEventHandler("onClientRender",root,test) It works, but it doesn't suit all resolutions, I know why (if realneX > 0 and realneX < 0 + 1280 and realneY > 0 and realneY < 0 + 144 then) , but I don't know how can fix it.
  3. 17511, Collision: 17512, next time you should use map editor.
  4. I found two resources for you, maybe they works. https://community.multitheftauto.com/in ... ls&id=1603 https://community.multitheftauto.com/in ... ew&id=1365
×
×
  • Create New...