Raised This Month: $62 Target: $400
 15% 

How to learn amxx scripting?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nacho312
Member
Join Date: Mar 2020
Old 01-24-2021 , 15:01   How to learn amxx scripting?
Reply With Quote #1

Hello, first sorry if this is not the right section, I just wanna ask, like the tittle says, How can we learn amxx scripting? also does learning c++ makes it easier? are they similar? FYI I'm zero at programming and I really would like to start, Thanks alot for reading!

Last edited by nacho312; 01-24-2021 at 15:02.
nacho312 is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Upplands Väsby, Sweden
Old 01-24-2021 , 15:28   Re: How to learn amxx scripting?
Reply With Quote #2

Similar or not doesn't really matter. You will always have easier to learn if you know another programming language because you understand a lot of the basics already and can see patterns by looking at others code.

I wouldn't call them extremely similar but they have some things in common. The syntax has similarities (but so does many other languages).

I would recommend AMXXPAWN a good starting point since memory is extremely simplified.
Everything is 32-bit "cells" or an array of them. Integer, strings, floats, booleans... everything. No need for casting.

Start by looking at simple plugins and just write similar plugins yourself. There are also numerous threads on this forum on where to begin.

I recommend trying to write a plugin with a console command that will give you an amount of health, armor, money or similar as your first project. Then it kind of depends on where you want your knowledge to grow.
__________________
Black Rose is offline
nacho312
Member
Join Date: Mar 2020
Old 01-24-2021 , 16:06   Re: How to learn amxx scripting?
Reply With Quote #3

Quote:
Originally Posted by Black Rose View Post
Similar or not doesn't really matter. You will always have easier to learn if you know another programming language because you understand a lot of the basics already and can see patterns by looking at others code.

I wouldn't call them extremely similar but they have some things in common. The syntax has similarities (but so does many other languages).

I would recommend AMXXPAWN a good starting point since memory is extremely simplified.
Everything is 32-bit "cells" or an array of them. Integer, strings, floats, booleans... everything. No need for casting.

Start by looking at simple plugins and just write similar plugins yourself. There are also numerous threads on this forum on where to begin.

I recommend trying to write a plugin with a console command that will give you an amount of health, armor, money or similar as your first project. Then it kind of depends on where you want your knowledge to grow.
Great tips, Thanks very much!
nacho312 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-24-2021 , 16:58   Re: How to learn amxx scripting?
Reply With Quote #4

First lesson: Search, Search, Search. For example, you might have found that many other people have asked this question or that there is an entire subforum dedicated to tutorials and there is even a thread that lists a bunch of good ones.
__________________

Last edited by fysiks; 01-24-2021 at 16:58.
fysiks is offline
nacho312
Member
Join Date: Mar 2020
Old 01-24-2021 , 17:09   Re: How to learn amxx scripting?
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
First lesson: Search, Search, Search. For example, you might have found that many other people have asked this question or that there is an entire subforum dedicated to tutorials and there is even a thread that lists a bunch of good ones.
Yeah thank you!
nacho312 is offline
lexzor
Senior Member
Join Date: Nov 2020
Old 01-24-2021 , 18:34   Re: How to learn amxx scripting?
Reply With Quote #6

after making some types of plugins that black rose proposed to you above you can try to make some menus and learn to use nvault
lexzor is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:35.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode