How i start learn scripting

Hello I would so much like to do a shop robbery, ATM robbery, digging a grave script but I don’t know how or even where to learn all the tutorials don’t tell me anything well can someone help me

Means you’re either watching bad tutorials (which do exist, especially in FiveM, sadly) or need another way to learn stuff altogether. My recommended method for you is to just start writing something simple and solving issues one-by-one.
Don’t know how to do X? Find a script that does it, see how it’s done, copy it, make sure it works, and keep going.
Getting an error? Debug it yourself and, if you couldn’t figure it out, ask for help in Resource Support or anywhere else where it makes sense to do so.

Best way to learn to do something is to do it, at least in my experience.

1 Like

It seems a lot of script developers use GhatGPT now to write scripts or ask for help.

I developed a script recently using GPT, works fine, so start with that as it will help you to learn how to write them, edit and what each part does.

Of course as you are beginning, start with something simple so you get the chance to learn the basics as you go along. (ie print something on the screen), then add another part to it, and then another part, to build up the script

If you start with something complex it will just frustrate you, have patience.

That is probably the worst advice you can give someone who just started learning how to code.

1 Like

Well its my thoughts on it, didnt say he had to do it.

In this day of instant gratification, ppl dont have the patience to read books and research so it is one of many options available to people.

I always thought it was a cop out or an easy way to do it, but I know a few coders of larger well known programs that use it and have recommended using it so thought I would share their advice.

AI wont help you learn how to code if you cant read the stuff it spits out to understand what it does, I don’t think that is a particularly good idea lol

Thanks you but Is there Any website where i can Start learn coding

Coding overall there’s quite a few, I cant recommend any but it shouldn’t be hard to find some

A really great tool is w3schools, this is your best bet if you know nothing about coding. As for LUA specifically, these are few and far between because in FiveM scripting we only scratch the surface of LUA’s capabilities so any overview course in LUA should suffice. Something like https://www.youtube.com/watch?v=kgiEF1frHQ8, but the video expects you to understand some coding principles.