RegisterCommand("ac", function(source)
local user_id = vRP.getUserId({source})
local player = vRP.getUserSource({user_id})
local name = GetPlayerName(source)
local cfg = getConfig()
if vRP.hasPermission({user_id, "anticheat.settings"}) then
TriggerClientEvent("HG_AntiCheat:Toggle", -1, 1)
else
vRPclient.notifyPicture(source,{"CHAR_LESTER",1,"HG_AntiCheat",false,"You do not have access to the settings"})
end
end)
I installed “Anticheat” , but I don’t like that one feature: it deletes the NPC in the server itself, causing explosions, crashing the plane because there is no control NPC , traffic is blocked because no NPC controls the car, Please !
I use ESX, Currently my server has a lot of players using hacked money. How to add a test script if the player has> = 20,000,000 USD Then the anticheat will automatically remove the amount or ban them from the server. Thank you