diff --git a/Peds/PedsPizzaBikes.lua b/Peds/PedsPizzaBikes.lua new file mode 100644 index 0000000..1ea9128 --- /dev/null +++ b/Peds/PedsPizzaBikes.lua @@ -0,0 +1,19 @@ +EffectInfo = { + Name = "Pizza Time", + EffectId = "peds_pizzatime", + TimedType = "None", + EffectGroup = "_group_trafficspawner", + EffectCategory = "TrafficSpawner" + +} + +function OnStart() + bikeHash = GET_HASH_KEY("pizzaboy") + SetSurroundingPedsInVehicles(bikeHash, 0) +end + +function OnStop() +end + +function OnTick() +end diff --git a/Weather/WeatherTrueSnow.lua b/Weather/WeatherTrueSnow.lua index 7290965..c92c057 100644 --- a/Weather/WeatherTrueSnow.lua +++ b/Weather/WeatherTrueSnow.lua @@ -8,6 +8,7 @@ EffectInfo = { } function OnStart() + REQUEST_CLIP_SET("move_f@injured") end function OnStop() @@ -22,4 +23,9 @@ function OnTick() SET_WEATHER_TYPE_NOW("BLIZZARD") SET_TIMECYCLE_MODIFIER("prologue_ending_fog") SET_TIMECYCLE_MODIFIER_STRENGTH(0.6) + for _, ped in ipairs(GetAllPeds()) do + if ped ~= PLAYER_PED_ID() then + SET_PED_MOVEMENT_CLIPSET(ped, "move_f@injured", 1.0); + end + end end