What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you need to register or log in to the forum. Becoming a member of the forum is completely free.

Framework
  1. ESX
  2. QBCORE
  3. VRP
  4. STANDALONE

Admin

Legend
Member
Secure your FiveM server from unauthorized noclip exploits with our free anti noclip anticheat script. Copy the code into your client file and restart your server to activate noclip detection.


Code:
local lastCoords = vector3(0.0, 0.0, 0.0)
local isFirstAttempt = true

local whitelistCoords = {
    {coords = vector3(100.0, 200.0, 0.0), radius = 20.0},
    {coords = vector3(574.68, -848.78, 41.08), radius = 1000.0},
}

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

        if not IsPedInAnyVehicle(PlayerPedId(), false) then
            local coords = GetEntityCoords(PlayerPedId())

            if isFirstAttempt then
                lastCoords = coords
                isFirstAttempt = false
            end

            local distance = #(coords - lastCoords)
            local heightAboveGround = GetEntityHeightAboveGround(PlayerPedId())

            local isInWhitelist = false
            for _, data in ipairs(whitelistCoords) do
                local whitelistedCoord = data.coords
                local radius = data.radius

                local distanceToWhitelist = #(coords - whitelistedCoord)
                if distanceToWhitelist <= radius then
                    isInWhitelist = true
                    break
                end
            end

            if distance > 10.0 and heightAboveGround > 5.0 and not IsPedFalling(PlayerPedId()) and ESX.PlayerData.group == "user" and not isInWhitelist then
                print('Possible No Clip Detected')
                ESX.ShowNotification("Possible No Clip Detected")
            end

            lastCoords = coords
        end
    end
end)
 
Last edited by a moderator:

Attention please!

Spam comments made to download the file in the subject are prohibited.

Spam comments will cause your account to be banned.

Theme customization

"From this menu, you can customize certain areas of the forum theme to your preference."

Choose the color that reflects your taste.

Wide / Narrow view

You can check a structure that allows you to use your theme in a wide or narrow view.

Grid view forum list

You can control the layout of the forum list in grid or regular listing style.

Image grid mode

You can control the structure that allows you to show or hide images in the grid forum list.

Close the sidebar

By closing the sidebar, you can have a wider view of the forum.

Fixed sidebar

By fixing the sidebar, you can make it more useful and ease your access.

Köşe kıvrımlarını kapat

Blokların köşelerinde bulunan kıvrımları kapatıp/açarak zevkinize göre kullanabilirsiniz.

Back