forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
cbd02dde6e
commit
9a36f57082
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function SpawnGuardNPC(npc)
|
||||||
print("Model erfolgreich geladen, erstelle NPC...")
|
print("Model erfolgreich geladen, erstelle NPC...")
|
||||||
|
|
||||||
-- NPC erstellen
|
-- 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
|
if not DoesEntityExist(npcHandle) then
|
||||||
print("NPC konnte nicht erstellt werden!")
|
print("NPC konnte nicht erstellt werden!")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue