Modified Two Effects:

modified:   Player/PlayerGetOffYourPhone.lua - changed how the effect handles phone models
	modified:   Weather/WeatherTrueSnow.lua - added an effect incompatible id and removed a semi colon
This commit is contained in:
2025-09-23 17:51:50 +01:00
parent 35b48ab2f8
commit 29d8d937fb
2 changed files with 38 additions and 2 deletions

View File

@@ -3,7 +3,10 @@ EffectInfo = {
EffectId = "weather_snowstorm",
TimedType = "Normal",
EffectGroup = "_group_weatherchange",
EffectCategory = "Shader"
EffectCategory = "Shader",
IncompatibleIds = {
"world_snow"
}
}
@@ -16,6 +19,7 @@ function OnStop()
SET_TIMECYCLE_MODIFIER_STRENGTH(1.0) -- reset the timecycle strength for any effects that require it but do not modify the strength by themselves.
CLEAR_TIMECYCLE_MODIFIER()
SET_WEATHER_TYPE_NOW("CLEAR")
USE_SNOW_FOOT_VFX_WHEN_UNSHELTERED(false)
end
function OnTick()
@@ -28,4 +32,5 @@ function OnTick()
SET_PED_MOVEMENT_CLIPSET(ped, "move_f@injured", 1.0)
end
end
USE_SNOW_FOOT_VFX_WHEN_UNSHELTERED(true)
end