fix(client/functions): undefined variable

Co-authored-by: ItsANoBrainer <itsanobrainergg@protonmail.com>
This commit is contained in:
BerkieBb
2022-03-12 12:26:42 +01:00
committed by GitHub
parent 8d9a970aa1
commit 4cf4030ad3
+1 -1
View File
@@ -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)