forked from Simnation/Main
ed
This commit is contained in:
parent
c63301edd3
commit
97cd9fbf74
2 changed files with 16 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue