tweak(client/main): Remove no collision (falls through world); set player as invincible

This commit is contained in:
Linden
2021-05-31 19:29:58 +10:00
committed by GitHub
parent f888ad157b
commit 9df67578bb
+2 -2
View File
@@ -47,7 +47,7 @@ if ESX.GetConfig().Multichar then
end
SetEntityVisible(PlayerPedId(), 0, 0)
SetLocalPlayerVisibleLocally(1)
SetEntityCollision(PlayerPedId(), 0, 1)
SetPlayerInvincible(PlayerId(), 1)
Citizen.Wait(3)
end
end)
@@ -71,7 +71,7 @@ if ESX.GetConfig().Multichar then
NetworkConcealEntity(vehicles[i], false)
end
SetEntityVisible(PlayerPedId(), 1, 0)
SetEntityCollision(PlayerPedId(), 1, 1)
SetPlayerInvincible(PlayerId(), 0)
Citizen.Wait(10000)
canRelog = true
end)