mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
fix(client/functions): undefined variable
Co-authored-by: ItsANoBrainer <itsanobrainergg@protonmail.com>
This commit is contained in:
@@ -868,7 +868,7 @@ function QBCore.Functions.StartParticleAtCoord(dict, ptName, looped, coords, rot
|
||||
if coords then
|
||||
coords = type(coords) == 'table' and vec3(coords.x, coords.y, coords.z) or coords
|
||||
else
|
||||
coords = GetEntityCoords(ped)
|
||||
coords = GetEntityCoords(PlayerPedId())
|
||||
end
|
||||
QBCore.Functions.LoadParticleDictionary(dict)
|
||||
UseParticleFxAssetNextCall(dict)
|
||||
|
||||
Reference in New Issue
Block a user