1
0
Fork 0
forked from Simnation/Main

Update main.lua

This commit is contained in:
Miho931 2025-06-08 13:52:14 +02:00
parent cbd02dde6e
commit 9a36f57082

View file

@ -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