Posts: 201
Threads: 19
Joined: Dec 2013
Hey All SA-MP members...
Today i want to start building my own script.
I know that you all (maybe not all) gonna tell me to use wiki to learn,but really i cannot learn(or atleast) take the idea by the wiki,I need full explaining,I really Have already edited and fixed some bugs in some gamemodes,I just said because i don't want anyone to feel like i'm lack of scripting,because i know the basics,now i want to turn from basics to huge staff...
Thanks for reading....
I hope you all understood me,I hope i get the enough help.
Posts: 618
Threads: 31
Joined: Feb 2011
Reputation:
0
Huge staff ? what do you mean by that ?
Anyways..if you realy want to learn you must know that it takes alot of time and patience
you dont want to start a roleplay server right away.
If you realy feel up to it and want to learn a few extra things you may PM me..i teach things in real life..(not scripting though XD) so if i got find time i could teach you a few basics.
What is it that you dont understand exactly ? can you explain that ?
Anyways...just keep on editing it helps.
Posts: 201
Threads: 19
Joined: Dec 2013
Posts: 270
Threads: 7
Joined: Apr 2015
Try making a DM server then look up some tuts about DM scripting, the more you get into it, the more you'll learn...
Posts: 4,759
Threads: 33
Joined: Dec 2013
Reputation:
0
You have to practice, practice and practice. Not just one thing, but different aspects that can be done with the programming language. You aren't going to learn anything, if you do not practice. You also need time to get familiar and used to the programming language.
If you're thinking that if you start scripting a gamemode right now, you will have a fully working script on the following week (something complete), you're dreaming. It will take time, perhaps a year or more, not to mention all of the things going around in your life, which will make completing it even more of a challenge.
Posts: 201
Threads: 19
Joined: Dec 2013
1st: Wow,About the idea of "amirm3hdi",it is good if i'm making a huge DM server,and trying to learn it fast but,I'm making a TDM,which is harder than DM,and when it is huge,Then i need someone to tell me what to do,Becuase wiki doesn't say all things.
edit:
2nd: Thanks for telling me that it would take a year,that why i need someone who is good -or pro if there is- to tell me what exactly to do,as if i wrote everything by my self,and fixed my errors,and he told me everything,i think -by some how- this will learn me pawn language.
Posts: 270
Threads: 7
Joined: Apr 2015
Of course wiki doesn't tell you what to do, but it's the best way to know about the functions and their react...
and by DM I did not mean a Free For All, and it's not difficult to make a TDM if you know how DM works,
Just start scripting you'll get good at in a day or two.
Once you've started and got problems or errors, search for them if you didn't find a solution just make a thread...
Posts: 1,733
Threads: 20
Joined: Nov 2010
Reputation:
0
First things first:
You need an account system.
You can choose between many alternatives like dini (really outdated and slow, not recommended), several other INI-systems and even MySQL.
Try to get something working that can save (and load) at least:
- playername
- password
- money
- score
- adminlevel
- kills
- deaths
- ...
Once you have that, you can start working on a login system (register and login).
When that's working, create some commands (zcmd is a good command processor) so you can make someone else admin, give them money, score, kick someone, ban someone, ...
Then you can add some extra commands to spawn vehicles, teleport players around, repair vehicles, heal players and such things.
You can also add systems for anti-hack purposes (really recommended).
Try to add server-sided money and score.
And after that you can add alot more.
As said before, it will take alot of time to get everything working properly without bugs, scripting errors and warnings.
Posts: 270
Threads: 7
Joined: Apr 2015
Quote:
Originally Posted by PowerPC603
First things first:
You need an account system.
You can choose between many alternatives like dini (really outdated and slow, not recommended), several other INI-systems and even MySQL.
Try to get something working that can save (and load) at least:
- playername
- password
- money
- score
- adminlevel
- kills
- deaths
- ...
Once you have that, you can start working on a login system (register and login).
When that's working, create some commands (zcmd is a good command processor) so you can make someone else admin, give them money, score, kick someone, ban someone, ...
Then you can add some extra commands to spawn vehicles, teleport players around, repair vehicles, heal players and such things.
You can also add systems for anti-hack purposes (really recommended).
Try to add server-sided money and score.
And after that you can add alot more.
As said before, it will take alot of time to get everything working properly without bugs, scripting errors and warnings.
|
Dude! I agree with what your saying but comon, he wants to start learning, he doesn't need ANTI CHEAT NOW or account system... Instead of focusing on beginner's stuff, isn't a little too much ?!
Posts: 201
Threads: 19
Joined: Dec 2013
Quote:
Originally Posted by amirm3hdi
Dude! I agree with what your saying but comon, he wants to start learning, he doesn't need ANTI CHEAT NOW or account system... Instead of focusing on beginner's stuff, isn't a little too much ?!
|
Guys,Both of you,Thanks so much,You both gave me some good information,So,What is the INI you meant?
and zmcd,how to build that?
another question: Can i ask here for the way to build the whole teams? -which is after the #define TEAM_... and that etc....