Modified Effects:

Modified the Snow Storm Effect
Create the pizza time effect
This commit is contained in:
2025-09-22 23:02:14 +01:00
parent aa05ddbead
commit 8bd8c2c2fa
2 changed files with 25 additions and 0 deletions

19
Peds/PedsPizzaBikes.lua Normal file
View File

@@ -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

View File

@@ -8,6 +8,7 @@ EffectInfo = {
} }
function OnStart() function OnStart()
REQUEST_CLIP_SET("move_f@injured")
end end
function OnStop() function OnStop()
@@ -22,4 +23,9 @@ function OnTick()
SET_WEATHER_TYPE_NOW("BLIZZARD") SET_WEATHER_TYPE_NOW("BLIZZARD")
SET_TIMECYCLE_MODIFIER("prologue_ending_fog") SET_TIMECYCLE_MODIFIER("prologue_ending_fog")
SET_TIMECYCLE_MODIFIER_STRENGTH(0.6) 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 end