diff --git a/fs_initial_config.lua b/fs_initial_config.lua index 3485a78..e2499c9 100644 --- a/fs_initial_config.lua +++ b/fs_initial_config.lua @@ -142,8 +142,9 @@ yl_speak_up.get_fs_initial_config = function(player, n_id, d_id, is_initial_conf -- is the player allowed to edit this npc? if(not(yl_speak_up.may_edit_npc(player, n_id))) then - -- TODO: better error message (this one is a local function...) - return get_error_message() + return "size[6,2]".. + "label[0.2,0.0;Sorry. You are not authorized\nto edit this NPC.]".. + "button_exit[2,1.5;1,0.9;back_from_error_msg;Exit]" end local tmp_name = n_id