1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-20 21:00:17 +02:00
parent c63301edd3
commit 97cd9fbf74
2 changed files with 16 additions and 14 deletions

View file

@ -90,6 +90,7 @@ local function CreateDialogOptions(options, npcId, parentId)
lib.registerContext({
id = contextId,
title = option.response.title,
menu = 'npc_dialog_' .. npcId, -- Zurück-Link zum Hauptmenü
options = responseOptions
})
@ -124,6 +125,7 @@ RegisterNetEvent('npc-dialog:client:openDialog', function(data)
lib.registerContext({
id = 'npc_dialog_' .. npcId,
title = npcData.dialog.title,
description = npcData.dialog.description, -- Hier wird die Beschreibung hinzugefügt
options = options
})
@ -139,4 +141,4 @@ AddEventHandler('onResourceStop', function(resourceName)
DeleteEntity(npc)
end
end
end)
end)