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:
@@ -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
|
||||
|
||||
@@ -3,7 +3,7 @@ EffectInfo = {
|
||||
EffectId = "weather_snowstorm",
|
||||
TimedType = "Normal",
|
||||
EffectGroup = "_group_weatherchange",
|
||||
EffectCategory = "Shader",
|
||||
EffectCategory = "None",
|
||||
IncompatibleIds = {
|
||||
"world_snow",
|
||||
"weather_canadian"
|
||||
|
||||
Reference in New Issue
Block a user