Meteor
This is the Meteor effect, you can use it to make meteorites fall from the sky or any other effect you want. You can configure the speed of the projectile and the effect of the impact
Click on the image to watch the video
soon
How to use
Take the test.lua file as a reference, create a configuration for the Meteor effect, and call the function.
local params = {
dict = "wpn_flare",
particle = "proj_heist_flare_trail",
size = 1.8,
duration = nil,
rgb = { r = 0.0, g = 1.3, b = 3.8 },
dictEnd = "veh_xs_vehicle_mods",
particleEnd = "exp_xs_mine_emp",
sizePend = 3.5,
rgbPend = nil,
latency = 2,
sound = "fireb",
alpha1 = 1.0,
alpha2 = nil
}
Put the coords where you want to land the Meteor effect
PZFX.Effects.Meteora(nil, coordsEscena, params)