Added effect + Modified 'Snow Storm' Effect

Changes to be committed:
	new file:   Peds/PedsMillenials.lua
	modified:   Weather/WeatherTrueSnow.lua
This commit is contained in:
2025-09-23 02:37:38 +01:00
parent f5084d24ae
commit 35b48ab2f8
2 changed files with 23 additions and 1 deletions

22
Peds/PedsMillenials.lua Normal file
View File

@@ -0,0 +1,22 @@
EffectInfo = {
Name = "Millenials",
EffectId = "peds_millenials",
TimedType = "Normal",
EffectGroup = "None",
EffectCategory = "None"
}
function OnStart()
end
function OnStop()
end
function OnTick()
for _, ped in ipairs(GetAllPeds()) do
if ped ~= PLAYER_PED_ID() and IS_PED_RUNNING_MOBILE_PHONE_TASK(ped) == false and IS_PED_IN_ANY_VEHICLE(ped, false) == false then
TASK_USE_MOBILE_PHONE(ped, 1, 2)
end
end
end

View File

@@ -25,7 +25,7 @@ function OnTick()
SET_TIMECYCLE_MODIFIER_STRENGTH(0.6) SET_TIMECYCLE_MODIFIER_STRENGTH(0.6)
for _, ped in ipairs(GetAllPeds()) do for _, ped in ipairs(GetAllPeds()) do
if ped ~= PLAYER_PED_ID() then if ped ~= PLAYER_PED_ID() then
SET_PED_MOVEMENT_CLIPSET(ped, "move_f@injured", 1.0); SET_PED_MOVEMENT_CLIPSET(ped, "move_f@injured", 1.0)
end end
end end
end end