My personal custom scripts that i’ve made / used for my vRP based server.
I’ve recently released them on my personal Github and i had people reposting them somewhere else under their name so.
Do not try to copy these resources
Installation
Start the resource in server.cfg
Add in server.cfg so: add_ace resource.hg_anticheat command.sets allow
Add premission to vrp/cfg/groups.lua so anticheat.settings
So why release this if it’s not compatible. Releases should work properly when released. Broken / Not working releases may be taken down. I’d suggest updating it to be ‘full compatible’.
Also add a description of what your resource is whether using text, screenshots, videos etc.
Hello, how can I disable the NPC remove anticheat function? Could you explain me? I love it, but it’s deleting the NPCs I use on my server, and that’s bothering me …
I altered the loop to delete peds after it reaches a certain number. This will allow you to have protection from someone spawning 100’s while still being able to use them on your server. Setting the threshold to 50 works well without it looking like it’s deleting any during normal play.
Citizen.CreateThread(function()
while true do
Citizen.Wait(3000)
if (AntiCheat == true)then
thePeds = EnumeratePeds()
PedStatus = 0
for ped in thePeds do
PedStatus = PedStatus + 1
if PedStatus >= Config.pedThreshold then
if not (IsPedAPlayer(ped))then
DeleteEntity(ped)
RemoveAllPedWeapons(ped, true)
end
end
end
end
end
end)