Jump to content

Hale

Members
  • Posts

    174
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Hale

  1. My goal was to make all drawings the same size on every resolution, however, it doesn't really seem possible. I also tried using MTA "default-bold" and "default" fonts, with which I had the same problem as using the custom ones (weirdly enough)...
  2. Hale

    Errors

    Hire a scripter to fix your server, or learn Lua.
  3. That didn't really help either. I "kinda" found a solution, here's what I did: local x, y = guiGetScreenSize() if x > 1000 then -- if the resolution is decent enough, create the nice font font = dxCreateFont(":race/addons/font.ttf",12*(x/1280)) else -- if the resolution is low, create a PIXEL font that can be somewhat readable (although ugly) font = dxCreateFont(":race/addons/font-low.ttf",12*(x/1280), false, "antialiased") end If anyone has a better solution, please help a man out!
  4. The text is still blurred, the same thing as before.
  5. screenWidth is sX, I just put it as an example.. Reason why I'm dividing screen width with 1280 is because in 1280x1024 resolution the drawn text looks as it should, so for example: sX=1920 sY/1280*scale=1920/1280*1=1.5 Which means the text will be drawn bigger as the resolution is also bigger and that's fine, but not when it comes to smaller resolutions as seen in provided picture.
  6. Rhino has its own special abilities that are hardcoded into GTA:SA. The only thing you can possibly do is to try and make the same thing for other cars which will be pretty hard to do.
  7. Please be more specific. Is string.gsub what you're looking for?
  8. Also keep in mind that exported server functions can only be called from only server side files!
  9. Please read my post again, I said I am scaling it by using screenWidth/1280*scale but it blurs the text and makes it unreadable. Any other ideas?
  10. Hi, I've been trying to scale drawn text (dxDrawText) to make it look nice for every resolution, however, every time I do so the text looks awfully blur and barely readable in lower resolutions (such as 640x480). Here's an example of what I'm trying to say: 1280x1024 640x480 Any ideas on how to do this properly? By the way, I'm using "default-bold" MTA font so the problem is not in a custom font.
  11. Indeed, it seems that the wiki is missing some of the available animations. Here are the two sex animations I've found: Block: "sex" Anims: "SEX_1_Cum_W", "SEX_1_Cum_P"
  12. This is a scripting section, meaning you're asking and searching for help of your own script, not requesting someone to script something for you. Please refer to this topic:
  13. I already told you, manipulate with these: local progress = ( ( getTickCount() - counter ) / 5000 ) -- try lowering or highering number 5000 local progress2 = ( ( getTickCount() - counter ) / 2000 ) -- try lowering or highering number 2000
  14. triggerClientEvent("eventname", root, ...) ... is for arguments (if any)
  15. The animation group (SEX) you're trying to access to is not existent.
  16. Unsure if this is possible, but maybe once all the client files are downloaded and loaded, they automatically get deleted if the file has the fileDelete function in them.
  17. local alpha = interpolateBetween(255, 0, 0, 0, 0, 0, (getTickCount()-tick)/700, "Linear") Try changing the number you're dividing the tick amount with (in my case 700, in your 1000).
  18. Hale

    ¿GTA map to MTA?

    https://convertffs.com/ I suppose you can try this, and if it's not of use you'll most likely have to do it manually, object by object.
  19. Depending if it's a server or client side, use onChatMessage/onClientChatMessage. Use of those 2 events is explained in examples written in the wiki.
  20. Put the resource in /resources folder? You really need to be more detailed when you're asking for help.
  21. Hale

    help nos color

    Not sure if this will work, but it's worth trying: triggerClientEvent("Nitrochange", player, r, g, b, player)
  22. Hale

    help bots script

    You could use: ex = getTeamFromName("Staff")
  23. Try using setElementFrozen instead of attaching the vehicle and object, and a short setTimer for ~500ms.
  24. You can send account data to client side by using triggerClientEvent, although I don't see any reason for doing that.
  25. Hale

    [BUG]About GUIs

    You should show some respect, he's helping you out. And he has a point, this isn't a bug but a question, therefore, please put [QUESTION] instead of [BUG] next time.
×
×
  • Create New...