[Tool/Web/Other] Important Tutorials - Tutorials that you must read!
#1

Important Tutorials/ Threads

I'm making this thread because I was helping one of my friend in scripting but reached a conclusion to make a thread that will not just help him only but everyone. This thread is alternative of 'Useful tutorials', because it's outdated and contains so many spoon-feeding/ useless tutorials.
If you find any errors/ mistakes or have any suggestions/ CREATIVE criticism, then feel free to leave it. I will also leave some notes for almost all tutorials listed here about their importance.


Rookie (level 1)

About PAWN: Get to know about PAWN
About Pawn language - CompuPhase
http://www.compuphase.com/pawn/pawn.htm

Pawn Laguage Guide - CompuPhase
compuphase.com/pawn/Pawn_Language_Guide.pdf

Pawn for Beginners - SA-MP Wiki
https://sampwiki.blast.hk/wiki/PAWN_for_Begginers

Indentation: Why you shouldn't use #pragma
Warning 217: Loose Indentation - Mean
https://sampforum.blast.hk/showthread.php?tid=256961

How to make code clean and readable - Sinner
https://sampforum.blast.hk/showthread.php?tid=251335

Debug/ Debugging: Learn how to fix code yourself!
Debugging - SA-MP Wiki
https://sampwiki.blast.hk/wiki/Debugging

Functions, stock and callbacks: Get to know what, why and how functions are made and work
Stop the abuse of Stock - Vince
https://sampforum.blast.hk/showthread.php?tid=570635

Enumerators: Get to know about Enumerators and its uses!
Enumerators (enums). What they actually are? - Posted by iPLEOMAX, Originally by ******
https://sampforum.blast.hk/showthread.php?tid=318307

Array: Get to know about Arrays, and their functions
Beginner's Guide: Single/Two/Multi-dimensional Arrays - iPLEOMAX
https://sampforum.blast.hk/showthread.php?tid=318212

Strings Formation/ Formatting: Learn the proper use of string
String Formatting - krogsgaard20
https://sampforum.blast.hk/showthread.php?tid=265433


Novice (level 2)

Code writing, optimizations and, Tips and Tricks (Part 1)
Tips & Tricks - Slice
https://sampforum.blast.hk/showthread.php?tid=216730

New code optimizations - Yashas
https://sampforum.blast.hk/showthread.php?tid=580289[/B]

Code optimisations - Misiur
https://sampforum.blast.hk/showthread.php?pid=3517039#pid3517039

To improve our GM - Swedky
https://sampforum.blast.hk/showthread.php?tid=482840


Amateur (level 3)

Saving Systems
TIP: Use SHA256 feature instead of Whirlpool (for SA-MP 0.3.7 and above), Plus, A custom per-player salt is always recommended for extra juice (security). Prefer to learn SQLite or MySQL over any other saving system for the sake of simplicity, efficiency and global usage.

Login/Register [Y_INI][WHIRLPOOL][UPDATE SERIES] - AndySedeyn
https://sampforum.blast.hk/showthread.php?tid=597639

How to use SQLite - Konstantinos
https://sampforum.blast.hk/showthread.php?tid=449536

Modular Programming Practice: Organize your clean and indented code
Modular Programming - Patrick
https://sampforum.blast.hk/showthread.php?tid=597338

Timers and Tick Counts: Learn where you should use timers and alternatives of Timers
Guide to the tick count function! and how it can be used as an alternative for unnecessary timers! - Southclaw
https://sampforum.blast.hk/showthread.php?tid=370955

Loops: Learning about loops and advanced looping methods
Advanced Iterators (foreach/y_iterate)
https://sampforum.blast.hk/showthread.php?tid=570937

y_iterate (foreach 3.0) - Misiur, Originally by ******
https://sampforum.blast.hk/showthread.php?tid=571159

Foreach & the functions handling of an iterator
https://sampforum.blast.hk/showthread.php?tid=588526

Ternary Operations: Easy to read 'if' and 'else' code
Ternary Operations - Untonyst
https://sampforum.blast.hk/showthread.php?tid=612076

Writing tutorials: Before you spread knowledge, learn how you can spread it.
How to write a tutorial - Abagail, Originally by ******
https://sampforum.blast.hk/showthread.php?tid=570981


Regular (level 4)
Code writing, optimizations and, Tips and Tricks (Part 2)
Creative & smart scripting techniques - improve performance & readablity in one go - Yashas
https://sampforum.blast.hk/showthread.php?tid=610553

One large timer (no), or many small ones (yes)? - ******
https://sampforum.blast.hk/showthread.php?tid=643553


Expert (level 5)

AMX Assembly (#emit)
AMX Assembly (#emit) / #emit - Learn from the basics - Yashas
https://sampforum.blast.hk/showthread.php?tid=591705

AMX and emit - kizla
https://sampforum.blast.hk/showthread.php?tid=308670

States in PAWN
One example of using "states" in PAWN within SA:MP - Meller
https://sampforum.blast.hk/showthread.php?tid=645373

Pawn.RakNet Tutorials
RPC - Pawn.RakNet - The one and only, Jelly23
https://sampforum.blast.hk/showthread.php?tid=644857

Packets - Pawn.RakNet - The one and only, Jelly23
https://sampforum.blast.hk/showthread.php?tid=644883
Reply
#2

Open-for-all (Miscellaneous)

Pawn Processor

PAWN Pre-Processor - Misiur
Contains a lot of useful stuff which comes handy for everyone, like naming conventions etc.
https://sampforum.blast.hk/showthread.php?tid=570933

Passwords

Short: Security around passwords - Alcatrik
https://sampforum.blast.hk/showthread.php?tid=619182

Using new SHA-256 function - Dominik523
https://sampforum.blast.hk/showthread.php?tid=581336

Salting passwords - Giovanni
TIP: Salting is a very important, go for custom per-player salts for hashing your players password.
https://sampforum.blast.hk/showthread.php?tid=350664

Anti Cheat

Anti Cheat tips - Miscellaneous
https://sampforum.blast.hk/showthread.php?tid=220089

remote-jacking anticheat (also detects people controlling remote cars issue) - JernejL
https://sampforum.blast.hk/showthread.php?tid=259745

SQL Guides: Learning about SQL and tips and tricks

[MySQL] Table structure and foreign keys - Vince
https://sampforum.blast.hk/showthread.php?tid=420363

Saving weapon data (MySQL) - Vince
https://sampforum.blast.hk/showthread.php?tid=505081

GeoIP and handling rangebans with MySQL - Vince
https://sampforum.blast.hk/showthread.php?tid=585996

Association Tables [SQL] - Vince
https://sampforum.blast.hk/showthread.php?tid=609888

Streamer
Streamer isn't just for object management, dynamic areas and checkpoints, it got a lot more uses, learn them in this tutorial

Smart use of the Streamer [Incognito] - Jingles
https://sampforum.blast.hk/showthread.php?tid=611692

Staff Tips

Tips on hiring staff - Gazzy
https://sampforum.blast.hk/showthread.php?tid=586886

Textdraws

How to create a speedometer - Freaksken
NOTE: May seems a little unrelated, but it contains good amount of explanation about per-player and global textdraws.
https://sampforum.blast.hk/showthread.php?tid=625685

Short: Calculating width of textdraws - Alcatrik
https://sampforum.blast.hk/showthread.php?tid=618883
Reply
#3

Well structured. Nice.
Reply
#4

Thanks for your effort, here are some tutorials I have bookmarked on my browser, maybe you can include them too.

Salting passwords
#emit
Abstract machine
Modular programming
Foreach and functions handling of an iterator
MySQL ORM
MySQL Threaded queries with y_inline
Binary and binary operators
Function overloading
Mimic OOP in pawn
2D arrays in enums
Foreach
Anticheats tips
Hooking functions and callbacks
Packets pawn.raKnet
RPC pawn.raKnet
Enumerators

I hope you keep the list updated, we really need one of these, best of luck.
Reply
#5

Well done mate!
Reply
#6

Updated the the main and the second post.

@Everyone, Thanks.
@Oussama, I'll add more of your threads after I read them properly so I can put them in the right category.
Reply
#7

Well done man.
Reply
#8

Great, here goes a rep.
Reply
#9

Detailed Guide On Structured Query Language [SQL] - Sreyas
https://sampforum.blast.hk/showthread.php?tid=609261

I don't have access or the link is death?
Anyway, that's pretty good. You should add a level between "Amateur" and "Expert" like "Regular" or something like that.
Reply
#10

Quote:
Originally Posted by Dayrion
View Post
Detailed Guide On Structured Query Language [SQL] - Sreyas
https://sampforum.blast.hk/showthread.php?tid=609261

I don't have access or the link is death?
Anyway, that's pretty good. You should add a level between "Amateur" and "Expert" like "Regular" or something like that.
The thread is removed. And yes, I'm working on that.

EDIT: Added 'Regular (level 4)' it's empty for now, I'll cover up some stuff in that category very soon. Thread updated!
Reply
#11

Your level 4 is empty?
Reply
#12

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
Your level 4 is empty?
Only if you considered reading my previous post. Yes, it's empty, son.
Reply
#13

Quote:
Originally Posted by Logic_
Посмотреть сообщение
The thread is removed. And yes, I'm working on that.

EDIT: Added 'Regular (level 4)' it's empty for now, I'll cover up some stuff in that category very soon. Thread updated!
👌.........
Reply
#14

Since I see the same mistakes over and over (even though it is documented on the wiki and said time and time again!), maybe add my tutorial.
It's about speedometers, but chapter 1 is a general explanation of the difference between global and per-player textdraws and when to use the appropriate one. So instead of using the title of the thread, maybe use something like this: When to use global and per-player textdraws (chapter 1 of speedometer tutorial)
Reply
#15

nice work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)