Disable Cheat Engine - No Scripthook

Hello All,

I have added the line: “sv_scriptHookAllowed 0” on my server.cfg but some people can use some tools to allow cheat engine.

Tools exemple:
Triangle SafeMenu
NoSafe Menu
Mike’s GTAH4

Can anyone now a way to disable those script ?
For the moment the only solution that I have is to BAN those cheaters

Thanks for help!

That’s the only thing I can think of, don’t think there’s a script that can detect those menus and block it.

Ah! That always bad to have cheaters online…

thanks for you answer Vespura

Speed hacks can be solved by setting entity max speed to 7.4 which is around the max speed you can run. As I was trying to create a sort of anticheat and figured this out, tried both an external menu and scripthook menu and neither could bypass this. I believe it only has to be set on spawn/respawn

1 Like

Thanks for this info IllusiveTea!

Could you please tell me where I have to put the max speed entity ?

Thanks in advance!

you need to make a resource

Ok, i will try to make this ressources, if you have any exemple I will really help me :wink:

Client Side

Citizen.CreateThread(function()
    while true do
		Wait(30000)
		TriggerServerEvent("anticheat:timer")
    end
end)

Citizen.CreateThread(function()
    while true do
		Wait(0)
		if GetEntityHealth(GetPlayerPed(-1)) > 200 or Citizen.InvokeNative(0x9483AF821605B1D8, GetPlayerPed(-1)) > 100 then
			TriggerServerEvent("anticheat:kick")
		end
    end
end)

Server side

Users = {}
RegisterServerEvent("anticheat:timer")
AddEventHandler("anticheat:timer", function()
	if Users[source] then
		if (os.time() - Users[source]) < 25 then
			DropPlayer(source, "Speedhack")
		else
			Users[source] = os.time()
		end
	else
		Users[source] = os.time()
	end
end)

AddEventHandler('playerDropped', function()
	if(Users[source])then
		Users[source] = nil
	end
end)

RegisterServerEvent("anticheat:kick")
AddEventHandler("anticheat:kick", function()
	DropPlayer(source, "Hacker")
end)
2 Likes

Thats only for speedhack, which is like never used

1 Like

man o man sorry just a few things ppl should know …not to use them tho

in any case i see that got deleted so were all good :slight_smile:

Well… it’s good to know how it works to prevent it (sort of), but you’re just giving a wide open door for people to go use it :stuck_out_tongue:

Thats why I deleted it.

1 Like

Tbf, it doesnt really tell you much since blocking it is completely different :stuck_out_tongue:

Best way to do it is to take a bit of health from someone, and if they regen it way too quick, its most likely :cheese: (cheats)

understood lol :slight_smile: i dont know what i was thinkin posting that …BAD idea lol