Theme editor

Guide Anti VDM Code

Random threads

Admin

FiveM Pro
Joined
Oct 11, 2024
Messages
155
Reaction score
-1,353
Points
93
Credits
0
Thread owner
Secure your FiveM server with our Anti VDM Code. T
his free script prevents players from vehicle-based exploits by allowing cars to pass through players, protecting against troll attacks.
Simply integrate the code for a safer gaming experience.
Anti VDM Code.webp
Code:
GuvenliBolgeler = {
    [1] = { coords = vector3(770.1771, -234.966, 66.146), radius = 200000.0 },
    }
    Citizen.CreateThread(function()
    while true do
    Citizen.Wait(1)
    local coords = GetEntityCoords(PlayerPedId())
    local ply = PlayerPedId()
    local pos = GetEntityCoords(GetPlayerPed(-1))
    if GetDistanceBetweenCoords(pos, GuvenliBolgeler[1].coords, true) < GuvenliBolgeler[1].radius * 1.5 then
    Citizen.Wait(0)
    local vehList = GetGamePool('CVehicle')
    for k,v in pairs(vehList) do
    SetEntityNoCollisionEntity(v, GetPlayerPed(-1), true)
    end
    end
    end
    end)
 
Last edited by a moderator:

Latest threads

Featured content

Latest threads

Back
Top