Raised This Month: $32 Target: $400
 8% 

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: Stockholm, 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
Veteran 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
Isiah Scott
New Member
Join Date: Sep 2021
Old 12-15-2021 , 15:02   Re: How to learn amxx scripting?
Reply With Quote #7

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.
Thank you so much for these recommendations! Your recommendations are really very helpful to me. Believe it or not, switching to something humanitarian helped me a lot while studying amxx scripting. I have read several articles about Shakespeare on the site https://graduateway.com/shakespeare-essay-topics/, and while learning scripting, I often read his works. It helped me a lot morally.

Last edited by Isiah Scott; 12-22-2021 at 05:48.
Isiah Scott is offline
Cristian505
Senior Member
Join Date: Oct 2020
Old 12-18-2021 , 06:35   Re: How to learn amxx scripting?
Reply With Quote #8

copy-paste
Cristian505 is offline
Dragos
Senior Member
Join Date: Oct 2018
Location: Romania
Old 12-18-2021 , 08:04   Re: How to learn amxx scripting?
Reply With Quote #9

Quote:
Originally Posted by Cristian505 View Post
copy-paste
that's how you do? =]]]
__________________
sup

Last edited by Dragos; 12-18-2021 at 08:04.
Dragos is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-18-2021 , 10:08   Re: How to learn amxx scripting?
Reply With Quote #10

Quote:
Originally Posted by Dragos View Post
that's how you do? =]]]
While learning, especially at the beginning, copy-pasting is perfectly fine as long as you try to understand the code. Just don't pretend it is yours, use copy-pasting solely as a learning technique.
__________________
HamletEagle 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 23:50.


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