RGSS3 Noob question - Display Actor's Name permanently on map

Hello everybody.

So, as the title says, I would like to show permanently on a certain map the actor's name at fixed coordinates. I tried to do it through a script executed as content of a parallel process, but, because of my ignorance about Ruby, I had to use methods that need to be defined, and I realised that I would need to redefine all the methods and the methods they call and the script call would become enormous.
Here is what I tried to use:

Spoiler
def actor_name(n)
actor = n >= 1 ? $game_actors[n] : nil
actor ? actor.name : ""
end

def draw_actor_name(actor, x, y, width = 112)
draw_text(x, y)
end
 draw_actor_name(1,493,28)
 
 
I know that this is a noob question, and I apologise for this, but could you help me? Thank you in advance.
I think I would go about this in quite a different way.  If the placement and display of the name is permanent then you could have an overlay picture with the name in a nice text box of your choosing.  If the map is bigger than your default then you would need a script to fix it in place, but that would be a useful script to have anyway.  On a parallel process you would have 'show Picture' followed by 'Erase Event' as you only need it to run when the map is loaded.

In case it is of interest, I'll get a link for a script which fixes pictures.

EDIT

This is the one I use.  There is a choice in the script about how to fix the picture.  I do it the simple way of putting [FIXED] before the file name.
Oh, maybe I forgot to say: the actor's name can be edited by the player, so I cannot use a picture. Sorry, my mistake.

Original thread: https://forums.rpgmakerweb.com/threads/rgss3-noob-question-display-actors-name-permanently-on-map.41650/