Module 06 · Lesson 19
/heal command, your first script
By the end of this lesson you will type /heal in chat and watch your character refill to full health, on a real server, with cheating already blocked.
BEFORE YOU START
Build it
Make the resource folder
The server has one folder for this lesson.
Inside your server's resources folder, create this folder:
resources/qu_heal_command
Create the files
Every file named in the manifest exists.
Create this exact file layout:
resources/qu_heal_command/
fxmanifest.lua
server.lua
client.lua
Write fxmanifest.lua
FiveM knows which files to load.