From 98640f7858c43ba08b1968e2809d0656eff19830 Mon Sep 17 00:00:00 2001 From: darknight2590 <87971656+darknight2590@users.noreply.github.com> Date: Mon, 20 Dec 2021 10:52:46 +0200 Subject: [PATCH] edit coords --- client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/functions.lua b/client/functions.lua index 6701645..e43897c 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -64,7 +64,7 @@ function QBCore.Functions.DrawText3D(x, y, z, text) end function QBCore.Functions.CreateBlip(id, data) - local blip = AddBlipForCoord(data.x, data.y, data.z) + local blip = AddBlipForCoord(data.coords) if data.sprite then SetBlipSprite(blip, data.sprite) end if data.range then SetBlipAsShortRange(blip, data.range) else SetBlipAsShortRange(blip, true) end