-
Posts
174 -
Joined
-
Last visited
-
Days Won
4
Everything posted by Hale
-
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)...
-
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!
-
The text is still blurred, the same thing as before.
-
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.
-
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.
-
Please be more specific. Is string.gsub what you're looking for?
-
Also keep in mind that exported server functions can only be called from only server side files!
-
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?
-
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.
-
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"
-
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:
- 3 replies
-
- 1
-
- roleplay
- login panel
-
(and 3 more)
Tagged with:
-
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
-
The animation group (SEX) you're trying to access to is not existent.
-
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.
-
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).
-
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.
-
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.
-
Put the resource in /resources folder? You really need to be more detailed when you're asking for help.
-
Not sure if this will work, but it's worth trying: triggerClientEvent("Nitrochange", player, r, g, b, player)
-
You could use: ex = getTeamFromName("Staff")
-
Try using setElementFrozen instead of attaching the vehicle and object, and a short setTimer for ~500ms.
-
You can send account data to client side by using triggerClientEvent, although I don't see any reason for doing that.