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)
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
Send help
1 Like