Is there a no godmode script

is there a no godmode script

Sure is. Scroll down the list until you find it.

i have tryed it dont work

Try this, it will enable PvP and players will be able to shoot each other.

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(0)
		SetCanAttackFriendly(PlayerPedId(), true, false)
		NetworkSetFriendlyFireOption(true)
	end
end)

Ugh, you still use GetPlayerPed(-1) :smiley:

Also, this should stop players being godmode:

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(0)
		if GetPlayerInvincible(PlayerPedId()) then
			SetPlayerInvincible(PlayerPedId(), false)
		end
	end
end)
1 Like

yes where do i find it

:man_facepalming:

Send help

1 Like