This is simple script to allow you to show some text using particle for FiveM
ShowFireworkText
Parameter | Type | Description |
---|---|---|
text |
string |
Required. Your text |
pos |
vector3 |
Required. Coord |
rotation |
number |
Rotation |
colors |
table |
Colors { r = 0.0, g = 255.0, b = 0.0} |
StopFireworkText
RegisterCommand("exemple", function(source, args)
local pos = vector3(-1985.7747, -923.1492, 50.7287)
exports["axio_alphanumeric_Effect"]:ShowFireworkText("HAPPY", pos, 30)
Wait(1750)
exports["axio_alphanumeric_Effect"]:StopFireworkText()
exports["axio_alphanumeric_Effect"]:ShowFireworkText("NEW", pos, 30)
Wait(1750)
exports["axio_alphanumeric_Effect"]:StopFireworkText()
exports["axio_alphanumeric_Effect"]:ShowFireworkText("YEAR", pos, 30)
Wait(1750)
exports["axio_alphanumeric_Effect"]:StopFireworkText()
exports["axio_alphanumeric_Effect"]:ShowFireworkText("2024", pos, 30)
Wait(1750)
exports["axio_alphanumeric_Effect"]:StopFireworkText()
end)
ABCDEFGHIJKLMNOPQRTSUVWXYZ0123456789
In my tests, I was able to display up to 6 without problem, with more certain particles missing
This repository was created by Derass239 and is under the GNU General Public License v3.0 license.
❌ You are not allowed to sell this script or any of the content within it