[PAID] cT-Resolution

Prevent Stretched Resolutions with Our Anti-Stretch Script! :desktop_computer::x:

Ensure the visual integrity of your FiveM server with our Anti-Stretch Script. This tool prevents players from using stretched resolutions, fostering an immersive and fair experience for everyone.

Key Features:

  • Flexible Configuration: :wrench: Decide whether players can move or not while using a stretched resolution, giving you full control over your server’s rules.

Why Choose Our Anti-Stretch Script?

  • Enhanced Immersion: :movie_camera: Maintain a visually appealing and realistic environment for all players.

  • Promote Fairness: :balance_scale: Prevent unfair advantages gained from stretched resolutions.

  • Easy Integration: :rocket: Works out of the box with quick and simple setup.


Links:


Elevate your server standards and create a consistent visual experience for everyone with our Anti-Stretch Script! :star2:

Code is accessible Partially
Subscription-based No
Lines +300
Requirements None
Support Yes
2 Likes

I can’t believe the native GetIsWidescreen is being sold.

3 Likes

300 lines too…

cough

local widescreenThreshold = 2.0

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(5000)

        local width, height = GetActiveScreenResolution()
        if width and height then
            local aspectRatio = width / height
            if aspectRatio > widescreenThreshold then
                TriggerServerEvent('ServerKickEventForUsingWideScreen')
            end
        end
    end
end)

It is a variant of the conventional one! And there is a charge for the idea and the design, but it is still almost a gift! And no one forces you to buy it, if you wish, you can use it.

lmao bought it, joined on 16:9 and it told me to change my resolution to 16:9😂 then he cropped out the preview, whenever you load in your screen flashes red… You couldn’t even easily change your resolution if you wanted too… DONT BUY

Fixed the problem that caused it to not detect that you are inside the game and therefore the UI would appear!