FiveM natives: the toolbox
You already know some Lua. You already know there is a client side and a server side. Now you need the toolbox. FiveM gives you thousands of built-in functions called natives. They let you do real game things like move a ped, draw text, spawn a vehicle, or read health. Nobody memorizes them all. Good developers look them up. This lesson teaches you how to read a native in the docs, then proves it by building a script that reads your position and health and teleports you cleanly onto the ground.
Find a native
A native is a built-in game function FiveM gives you. There are thousands. Nobody memorizes them; everyone looks them up. Keep these four tabs open while you script. The first two are the native references, the third is the docs hub, the last is the Lua manual for the language around them.