From 9a36f570827e85ec3204f6bfb0b32df21a05532b Mon Sep 17 00:00:00 2001 From: Miho931 <98314142+Miho931@users.noreply.github.com> Date: Sun, 8 Jun 2025 13:52:14 +0200 Subject: [PATCH] Update main.lua --- resources/[carscripts]/mh_garage/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/[carscripts]/mh_garage/client/main.lua b/resources/[carscripts]/mh_garage/client/main.lua index 5980a4b51..c0d91421b 100644 --- a/resources/[carscripts]/mh_garage/client/main.lua +++ b/resources/[carscripts]/mh_garage/client/main.lua @@ -29,7 +29,7 @@ function SpawnGuardNPC(npc) print("Model erfolgreich geladen, erstelle NPC...") -- NPC erstellen - npcHandle = CreatePed(4, npc.model, npc.spawn.x, npc.spawn.y, npc.spawn.x, npc.spawn.w, false, true) + npcHandle = CreatePed(4, npc.model, npc.spawn.x, npc.spawn.y, npc.spawn.z, npc.spawn.w, false, true) if not DoesEntityExist(npcHandle) then print("NPC konnte nicht erstellt werden!") return