New to scripting
#1

Hey,

I unfortunately lost the password of my other account, but it's been over 4 years since I last used it. I used to script, but due to countless real life issues, I had to give up on my dream of running a community. I'm back stronger than ever, but as I progressed, I lost valuable knowledge. I'm willing to regain it, but I don't even know where to start. I'd be extremely grateful if you gave me some links and some tips that will help me learn the basics as in the fastest command processors, best string formatting include, password hash, data storage etc.

Thanks in advance!
Reply
#2

Start from new.pwn

If you used to script like you said, you should know from where to start.

Best of luck.
Reply
#3

If you want to use a solid framework with a modern language, use SampSharp (http://alpha.sampsharp.timpotze.nl/). It allows you to use .NET Core and C# to build your gamemode. The framework has good support via Slack.

Also, the performance is massive and you gain the ability to use NuGet packages so you no longer have to rely on the SA:MP community for your plugins. Also, the ability to use any ADO.NET database connector (SQL server, MySQL, etc) or a MongoDB connector is a massive win in my opinion.

tl;dr : Use a modern language with rock-solid performance instead of pawn.
Reply
#4

Quote:
Originally Posted by KinderClans
Посмотреть сообщение
Start from new.pwn

If you used to script like you said, you should know from where to start.

Best of luck.
That's not the answer I was expecting.

Quote:
Originally Posted by Sithis
Посмотреть сообщение
If you want to use a solid framework with a modern language, use SampSharp (http://alpha.sampsharp.timpotze.nl/). It allows you to use .NET Core and C# to build your gamemode. The framework has good support via Slack.

Also, the performance is massive and you gain the ability to use NuGet packages so you no longer have to rely on the SA:MP community for your plugins. Also, the ability to use any ADO.NET database connector (SQL server, MySQL, etc) or a MongoDB connector is a massive win in my opinion.

tl;dr : Use a modern language with rock-solid performance instead of pawn.
I won't use other languages other than the one Pawn is based on.

Besides, I checked and there weren't enough tutorials.

Any other answers?
Reply
#5

Quote:
Originally Posted by KinderClans
Посмотреть сообщение
Start from new.pwn

If you used to script like you said, you should know from where to start.

Best of luck.
This answer is enough though.

if you are expecting answers like tutorials. Check these

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

or you can start here https://sampwiki.blast.hk/ and you can start to see how the default gm script work
Reply
#6

Learning programming takes a lot of time. Read language specific documentation and reputable tutorials explaining how to use that language, and how it works. After that read API specific documentation to get started making your own server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)