I'll tell you my little story. I discovered SA-MP in 2007-2008, played if for about 1 year then I decided to make my own server. Took lots of gamemode off the forums, filterscripts and put them togheter. I started translating them into my own language and then it struck me... How the hell does this work? And I started analyzing, browsing wikipedia, forums and ******* videos, I took gamemodes and filterscripts and started analyzing them, the code, the alignment, and slowly slowly I started to understand, more and more until I became pretty great at it in about 1 year, then I left.
So yeah, it takes time, patience, basic understanding of how a computer works, how a language works, etc.
Keep practicing, keep learning, keep making mistakes because the worst nights of my programming life back then were bugs, kept me awake for hours and after finally fixing them gave me another boost to accomplish another task!
It's better if you start enjoying it too