SA-MP Forums Archive
Scripting. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Scripting. (/showthread.php?tid=457306)



Scripting. - Fabio_Ganza - 11.08.2013

First of all, hello. I'd like to learn to script. I have some real, real basic knowledge of Borderland Delphi 6, with those basic commands. If any of you can post a few links to get me started, and if you have any advices ( which is why I'm posting this ), I'd appreciate that very, very much. Thanks.

EDIT: Before any of you say, I'm already using SEARCH function. Most of the tutorials I found just simply suck. They're like: " Tutorial for beginners " PUT THIS HERE, PUT THAT THERE, THERE YOU GO - without actually explaining what each command does.


Re: Scripting. - Potassium - 11.08.2013

https://sampforum.blast.hk/showthread.php?tid=456660

https://sampforum.blast.hk/showthread.php?tid=397509

And there are lots more similar threads that can be found by using the search feature.


Re: Scripting. - Fabio_Ganza - 11.08.2013

What does #include do? What is it for? Someone minds explaining?

Quote:

#include <a_samp>

main()
{
print("Hello World!");
return 1;
}

Also what is main and why are brackets beside it?

What is public...? No explanations what so ever. I want to understand what commands mean before I start using them.


Re: Scripting. - Drebin - 11.08.2013

https://sampwiki.blast.hk/
https://sampwiki.blast.hk/wiki/Scripting_Basics
http://www.******.com/

Answer to all your scripting questions.


Re: Scripting. - Potassium - 11.08.2013

https://sampwiki.blast.hk/wiki/Scripting_Basics

https://sampwiki.blast.hk/wiki/PAWN_for_Begginers

And lots more links inside the threads that I pasted a few replies ago.


Re: Scripting. - Karagon - 11.08.2013

This is the BEST source of that information in a general sense....


http://www.compuphase.com/pawn/pawn.htm

I suggest you to take a good look at everything there!


Direct link to documentation: http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS


Re: Scripting. - Potassium - 11.08.2013

Quote:
Originally Posted by Karagon
Посмотреть сообщение
This is the BEST source of that information in a general sense....


http://www.compuphase.com/pawn/pawn.htm

I suggest you to take a good look at everything there!


Direct link to documentation: http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS
This link isn't very helpful for people who want to learn Pawn specifically for SA-MP scripting. The links that Drebin and I pasted are directly related to SA-MP scripting and therefore more relevant to learn about SA-MP scripting from.


Re: Scripting. - Fabio_Ganza - 11.08.2013

Quote:
Originally Posted by Potassium
Посмотреть сообщение
This link isn't very helpful for people who want to learn Pawn specifically for SA-MP scripting. The links that Drebin and I pasted are directly related to SA-MP scripting and therefore more relevant to learn about SA-MP scripting from.
True.

Also I think that reading this won't help much as downloading a script and then editing it. What do you guys think?


Re: Scripting. - Potassium - 11.08.2013

Quote:
Originally Posted by Fabio_Ganza
Посмотреть сообщение
True.

Also I think that reading this won't help much as downloading a script and then editing it. What do you guys think?
I think that you should read through the first two links that I pasted, as that question has been asked many times.


Re: Scripting. - Fabio_Ganza - 11.08.2013

Hahaha, alright. Thanks