Refactor player spawning logic in PlayerBankHeist.lua; enhance vehicle exit handling in PlayerCantUseVehicles.lua; improve invincibility checks in PlayerInvincibleAndNoCops.lua; add vehicle exit for peds in PlayerTPEverythingAway.lua; adjust darkness scaling in ScreenBackToBlack.lua; clean up snowman entities in WeatherCanadian.lua; change EffectCategory in WeatherTrueSnow.lua; add TimeSyncWithPC.lua and VehicleGodModeAllVehicles.lua scripts.

This commit is contained in:
2026-01-19 23:10:15 +00:00
parent 9966833bfd
commit 5e7aecc712
9 changed files with 212 additions and 8 deletions

View File

@@ -19,6 +19,11 @@ function OnStart()
end
function OnStop()
for _, object in ipairs(GetAllProps()) do
if GET_ENTITY_MODEL(object) == snowManModelhash then
DELETE_ENTITY(Holder(object))
end
end
SetSnowState(false)
USE_SNOW_FOOT_VFX_WHEN_UNSHELTERED(false)
end
@@ -39,4 +44,6 @@ function OnTick()
end
end
USE_SNOW_FOOT_VFX_WHEN_UNSHELTERED(true)
end

View File

@@ -3,7 +3,7 @@ EffectInfo = {
EffectId = "weather_snowstorm",
TimedType = "Normal",
EffectGroup = "_group_weatherchange",
EffectCategory = "Shader",
EffectCategory = "None",
IncompatibleIds = {
"world_snow",
"weather_canadian"