SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 13/12/2017, 06:06 PM   #1
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 268
Default Important Tutorials - Tutorials that you must read!

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
http://wiki.sa-mp.com/wiki/PAWN_for_Begginers

Indentation: Why you shouldn't use #pragma
Warning 217: Loose Indentation - Mean
http://forum.sa-mp.com/showthread.php?t=256961

How to make code clean and readable - Sinner
http://forum.sa-mp.com/showthread.php?t=251335

Debug/ Debugging: Learn how to fix code yourself!
Debugging - SA-MP Wiki
http://wiki.sa-mp.com/wiki/Debugging

Functions, stock and callbacks: Get to know what, why and how functions are made and work
Stop the abuse of Stock - Vince
http://forum.sa-mp.com/showthread.php?t=570635

Enumerators: Get to know about Enumerators and its uses!
Enumerators (enums). What they actually are? - Posted by iPLEOMAX, Originally by Y_Less
http://forum.sa-mp.com/showthread.php?t=318307

Array: Get to know about Arrays, and their functions
Beginner's Guide: Single/Two/Multi-dimensional Arrays - iPLEOMAX
http://forum.sa-mp.com/showthread.php?t=318212

Strings Formation/ Formatting: Learn the proper use of string
String Formatting - krogsgaard20
http://forum.sa-mp.com/showthread.php?t=265433


Novice (level 2)

Code writing, optimizations and, Tips and Tricks (Part 1)
Tips & Tricks - Slice
http://forum.sa-mp.com/showthread.php?t=216730

New code optimizations - Yashas
http://forum.sa-mp.com/showthread.php?t=580289[/B]

Code optimisations - Misiur
http://forum.sa-mp.com/showthread.php?p=3517039

To improve our GM - Swedky
http://forum.sa-mp.com/showthread.php?t=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
http://forum.sa-mp.com/showthread.php?t=597639

How to use SQLite - Konstantinos
http://forum.sa-mp.com/showthread.php?t=449536

Modular Programming Practice: Organize your clean and indented code
Modular Programming - Patrick
http://forum.sa-mp.com/showthread.php?t=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
http://forum.sa-mp.com/showthread.php?t=370955

Loops: Learning about loops and advanced looping methods
Advanced Iterators (foreach/y_iterate)
http://forum.sa-mp.com/showthread.php?t=570937

y_iterate (foreach 3.0) - Misiur, Originally by Y_Less
http://forum.sa-mp.com/showthread.php?t=571159

Foreach & the functions handling of an iterator
http://forum.sa-mp.com/showthread.php?t=588526

Ternary Operations: Easy to read 'if' and 'else' code
Ternary Operations - Untonyst
http://forum.sa-mp.com/showthread.php?t=612076

Writing tutorials: Before you spread knowledge, learn how you can spread it.
How to write a tutorial - Abagail, Originally by Y_Less
http://forum.sa-mp.com/showthread.php?t=570981


Regular (level 4)
Code writing, optimizations and, Tips and Tricks (Part 2)
Creative & smart scripting techniques - improve performance & readablity in one go - Yashas
http://forum.sa-mp.com/showthread.php?t=610553

One large timer (no), or many small ones (yes)? - Y_Less
http://forum.sa-mp.com/showthread.php?t=643553


Expert (level 5)

AMX Assembly (#emit)
AMX Assembly (#emit) / #emit - Learn from the basics - Yashas
http://forum.sa-mp.com/showthread.php?t=591705

AMX and emit - kizla
http://forum.sa-mp.com/showthread.php?t=308670

States in PAWN
One example of using "states" in PAWN within SA:MP - Meller
http://forum.sa-mp.com/showthread.php?t=645373

Pawn.RakNet Tutorials
RPC - Pawn.RakNet - The one and only, Jelly23
http://forum.sa-mp.com/showthread.php?t=644857

Packets - Pawn.RakNet - The one and only, Jelly23
http://forum.sa-mp.com/showthread.php?t=644883
__________________
Premium quality and reasonable pricing game Server hosting

Last edited by Logic_; 15/12/2017 at 07:20 AM.
Logic_ is offline   Reply With Quote
Old 13/12/2017, 06:10 PM   #2
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 268
Default Re: Important Tutorials - Tutorials that you must read!

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.
http://forum.sa-mp.com/showthread.php?t=570933

Passwords

Short: Security around passwords - Alcatrik
http://forum.sa-mp.com/showthread.php?t=619182

Using new SHA-256 function - Dominik523
http://forum.sa-mp.com/showthread.php?t=581336

Salting passwords - Giovanni
TIP: Salting is a very important, go for custom per-player salts for hashing your players password.
http://forum.sa-mp.com/showthread.php?t=350664

Anti Cheat

Anti Cheat tips - Miscellaneous
http://forum.sa-mp.com/showthread.php?t=220089

remote-jacking anticheat (also detects people controlling remote cars issue) - JernejL
http://forum.sa-mp.com/showthread.php?t=259745

SQL Guides: Learning about SQL and tips and tricks

[MySQL] Table structure and foreign keys - Vince
http://forum.sa-mp.com/showthread.php?t=420363

Saving weapon data (MySQL) - Vince
http://forum.sa-mp.com/showthread.php?t=505081

GeoIP and handling rangebans with MySQL - Vince
http://forum.sa-mp.com/showthread.php?t=585996

Association Tables [SQL] - Vince
http://forum.sa-mp.com/showthread.php?t=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
http://forum.sa-mp.com/showthread.php?t=611692

Staff Tips

Tips on hiring staff - Gazzy
http://forum.sa-mp.com/showthread.php?t=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.
http://forum.sa-mp.com/showthread.php?t=625685

Short: Calculating width of textdraws - Alcatrik
http://forum.sa-mp.com/showthread.php?t=618883
__________________
Premium quality and reasonable pricing game Server hosting

Last edited by Logic_; 15/12/2017 at 07:22 AM.
Logic_ is offline   Reply With Quote
Old 13/12/2017, 06:16 PM   #3
aoky
Gangsta
 
aoky's Avatar
 
Join Date: Oct 2016
Location: Czech Republic
Posts: 518
Reputation: 136
Default Re: Important Tutorials - Tutorials that you must read!

Well structured. Nice.
aoky is offline   Reply With Quote
Old 13/12/2017, 06:32 PM   #4
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,275
Reputation: 255
Default Re: Important Tutorials - Tutorials that you must read!

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.
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning


Eoussama is offline   Reply With Quote
Old 13/12/2017, 06:49 PM   #5
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Important Tutorials - Tutorials that you must read!

Well done mate!
Xeon™ is offline   Reply With Quote
Old 13/12/2017, 06:56 PM   #6
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 268
Default Re: Important Tutorials - Tutorials that you must read!

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.
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 13/12/2017, 08:01 PM   #7
willbedie
Gangsta
 
willbedie's Avatar
 
Join Date: Feb 2016
Location: Albania
Posts: 525
Reputation: 40
Default Re: Important Tutorials - Tutorials that you must read!

Well done man.
__________________


willbedie is online now   Reply With Quote
Old 13/12/2017, 09:57 PM   #8
Jelly23
Guest
 
Posts: n/a
Default Re: Important Tutorials - Tutorials that you must read!

Great, here goes a rep.
  Reply With Quote
Old 13/12/2017, 10:27 PM   #9
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,927
Reputation: 256
Default Re: Important Tutorials - Tutorials that you must read!

Detailed Guide On Structured Query Language [SQL] - Sreyas
http://forum.sa-mp.com/showthread.php?t=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.
__________________
actor_plus - v5.0.2
« I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath »
Dayrion is offline   Reply With Quote
Old 14/12/2017, 05:05 AM   #10
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 268
Default Re: Important Tutorials - Tutorials that you must read!

Quote:
Originally Posted by Dayrion View Post
Detailed Guide On Structured Query Language [SQL] - Sreyas
http://forum.sa-mp.com/showthread.php?t=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!
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Script tutorials Read Andythegamer1234 Scripting Help 0 07/04/2013 12:06 PM
Tutorials iGetty Everything and Nothing 11 11/05/2012 12:50 PM
My Future ******* tutorials...If you are eager to learn Pawn, Read this! DarrenReeder Help Archive 6 16/06/2010 09:31 AM


All times are GMT. The time now is 08:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.