Can someone tell me where to get info?

  1. Follow the beginner tutorial [How-To] Create a basic script
  2. Look at other code found in https://forum.cfx.re/c/development/releases
  3. This for native reference https://runtime.fivem.net/doc/reference.html
  4. 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