I'm daring myself to add more little things to the tutorials shown here. It's of great pleasure to announce that the following code works.
I know it is not much, but it's one more step closer to my dream server.
So,
function joinHandler()
spawnPlayer(source, 2023, 1008, 10.83, -90, math.random (1,288))
fadeCamera(source, true)
setCameraTarget(source, source)
outputChatBox("¡Bienvenido!", source)
end
addEventHandler("onPlayerJoin", getRootElement(), joinHandler)
You can skip the spanish words.
The result is as expected: when the player joins, the chatbox shows the text