Jump to content

Karuzo

Members
  • Posts

    1,213
  • Joined

  • Last visited

Everything posted by Karuzo

  1. Karuzo

    race state

    Did you do that?
  2. Karuzo

    race state

    local x,y = guiGetScreenSize() local defScale = 1 local currentScale = defScale local maxScale = 2 local step = 0.05 -- How fast to change the size local turn = true -- true = increase size, false = decrease size local text = "Loading next map" local font = dxCreateFont("myFont.ttf",10) function myClientFunction_Handler() if turn == true then -- If we increase the value currentScale = currentScale + step if currentScale > maxScale then currentScale = maxScale turn = false -- Reached max? Then make it go back end else currentScale = currentScale - step if currentScale < defScale then currentScale = defScale turn = true end end local width = dxGetTextWidth(text,currentScale,font) local height = dxGetFontHeight(currentScale,font) dxDrawText(text,x/2-width/2,y/2-height/2,width,height,tocolor(255,255,255,255),currentScale,font) end function AddingEvent() addEventHandler("onClientRender",root,myClientFunction_Handler) end addEvent("myEvent", true) addEventHandler("myEvent", getRootElement(), AddingEvent)
  3. Take this one for that card: http://www2.ati.com/drivers/mobile/14-4-mobility-win7-win8-win8.1-64-dd-ccc-whql.exe After that delete your gta_sa.set from Documents > GTA San Andreas user files and launch GTA with MTA (don't set everything again with singleplayer) this has proven to fix this kind of issues for me if you do it that way Also (if you dont have important binds though) back-up Program files > MTA San Andreas 1.3 > MTA > coreconfig.xml and delete it and it'll re-generate there when you launch MTA again, do this at the same time as the gta_sa.set and start MTA once both of the files are gone. Make sure you do it in sequence: 1. first update the (possible) 14.4 ATI beta to release, then delete the configfiles and set your settings again After that dont touch driver overrides but check if it's fixed without altering it first, if so then check it and see the difference Didn't help. Still the same problem.
  4. just search for the blur shader in the community.
  5. No you don't need the mysql module .
  6. https://wiki.multitheftauto.com/wiki/Ge ... enPoints3D
  7. + Which event are you using to trigger this function?
  8. Karuzo

    About Gamemode

    Delete this line from the play meta.xml: resource="freeroam" />
  9. Someone should update the wiki page if so.
  10. Why don't you just set element datas? And when to save? I would save when the player leaves.
  11. You could just do an if-statement in all panels which open, and only let them open if the player has the loggedin elementdata for example
  12. Karuzo

    dxDrawText

    Oh sorry it's a typo. i meant onClientClick.
  13. Sorry, I can't remember that
  14. AMD Radeon 6450M . Well i have disabled that option, but it's still the same.
  15. As you can see the dx drawn images/rectangles have a bad quality. I just dunno why. It happened when i ticked the option "Disable Driver Overrides".
  16. http://prntscr.com/3dzmlw http://prntscr.com/3dzmlw
  17. Karuzo

    About Gamemode

    type stop freeroam in your console
  18. hey guys, since a few hours i have just an awkward problem. All the images(on every server) have bad quality. They just look like shit. Is there a way to fix this? I already updated my drivers.
  19. Karuzo

    dxDrawText

    Nikolai just don't write if you don't have any clue. @Newbie, i would recommened you BlanK9's example. Or you could do some maths: addEventHandler("onClientClick",root, function(b,state) if state == down then -- check if the state is down , otherwise it triggers this function 2 times (up and down) if isMouseWithinRangeOf(x/1.7,55,y/3.55,15) then -- your dx drawn text. ....-- your code. end end end ) function isMouseWithinRangeOf(psx,pssx,psy,pssy) if isCursorShowing() == false then return false end local cx,cy = getCursorPosition() cx,cy = cx*x,cy*y if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then return true,cx,cy else return false end end Hope that helps you.
  20. I think that the MTA Menu is enough of showing MTA.
  21. I don't really like this idea. It's useless, i really like the normal "intro".
×
×
  • Create New...