diff --git a/Peds/PedsClowiningAround.lua b/Peds/PedsClowiningAround.lua new file mode 100644 index 0000000..e71651d --- /dev/null +++ b/Peds/PedsClowiningAround.lua @@ -0,0 +1,26 @@ +EffectInfo = { + Name = "Clowning Around", + EffectId = "peds_clowningaround", + TimedType = "None", + EffectGroup = "_group_trafficspawner", + EffectCategory = "TrafficSpawner" + +} + +function OnStart() + clownVanHash = GET_HASH_KEY("speedo2") + SetSurroundingPedsInVehicles(clownVanHash, 0) + + playerPed = PLAYER_PED_ID() + + coords = GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(playerPed, 0, 10, 0) + heading = GET_ENTITY_HEADING(playerPed) + van = CreateTempVehicle(clownVanHash, coords.x, coords.y, coords.z, heading) + TASK_WARP_PED_INTO_VEHICLE(playerPed, van, -1) +end + +function OnStop() +end + +function OnTick() +end diff --git a/Screen/ScreenCRTTV.lua b/Screen/ScreenCRTTV.lua new file mode 100644 index 0000000..bdcfff1 --- /dev/null +++ b/Screen/ScreenCRTTV.lua @@ -0,0 +1,22 @@ +EffectInfo = { + Name = "CRT TV", + EffectId = "screen_crttv", + TimedType = "Short", + EffectGroup = "_group_shader", + EffectCategory = "Shader" + +} + +function OnStart() +end + +function OnStop() + CLEAR_TIMECYCLE_MODIFIER() +end + +function OnTick() + if GET_TIMECYCLE_MODIFIER_INDEX() == -1 then + SET_TIMECYCLE_MODIFIER("Broken_camera_fuzz") + SET_TIMECYCLE_MODIFIER_STRENGTH(0.7) + end +end