- Follow the beginner tutorial [How-To] Create a basic script
- Look at other code found in https://forum.cfx.re/c/development/releases
- This for native reference https://runtime.fivem.net/doc/reference.html
- FiveM docs can be helpful http://docs.fivem.net/scripting/
And yes, I advice you to code everything yourself albeit some code inspired by #development:releases