Files
community_bridge/examples/particle.lua
T
Mr.Crowley cdeba0652d Community Feedback on cache
serverid in cache is pointless and will never change

unit tests are not actually unit tests so i renamed to examples.
2025-08-18 18:32:38 -05:00

7 lines
361 B
Lua

RegisterCommand("test_particle", function(source, args, rawCommand)
local playerPed = PlayerPedId()
local coords = GetOffsetFromEntityInWorldCoords(playerPed, 0.0, 1.0, 0.0)
local heading = GetEntityHeading(playerPed)
Particle.Create("core", "ent_dst_concrete_large", coords, vector3(0.0, 0.0, heading), 1.0, vector3(1.0, 1.0, 1.0), false)
end)