SA-MP Forums Archive
should be made or not? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: should be made or not? (/showthread.php?tid=512169)



should be made or not? - Acres - 09.05.2014

hey guys i would like to ask what i should create for Deathmatch server ( like from begining? register and stuff? )


Re: should be made or not? - UpSMaX - 09.05.2014

lol.


Re: should be made or not? - ev0lution - 09.05.2014

You should stop. Please, please stop.


Re: should be made or not? - Sojo12 - 09.05.2014

Who cares?


Re: should be made or not? - StuartD - 09.05.2014

Make it so that when you shoot someone they die, that's a start.


Re: should be made or not? - LeGGGeNNdA - 09.05.2014

Quote:
Originally Posted by StuartD
Посмотреть сообщение
Make it so that when you shoot someone they die, that's a start.
Yeah please and make it with sawnoff, I love sawnoff.


Re: should be made or not? - BodyBoardVEVO - 09.05.2014

No, i hate sawn-off, make it with fist, u understand me boxing, kunfu pandas and other pro fightstyles, one bunch and player die, kk ? i will play on that


Re: should be made or not? - Calgon - 09.05.2014

Quote:
Originally Posted by ******
Посмотреть сообщение
Absolutely not! You explicitly mention a registration system - that is the one part of a mode you should NEVER write yourself.
If you're not being sarcastic, I think this is really bad advice.

A lot of us learned from creating the most important features in our gamemodes, rather than using pre-released tools to do it mostly for us.

We gain more of an insight in to how things work and more motivation to understand things when we actually make them, especially as a lot of SA-MP scripters don't come from a programming background, it's a nice chance to understand some programming logic (i.e. how a user system would be made).


Re: should be made or not? - Redirect Left - 09.05.2014

I agree with Calgon, I started SA:MP with zero knowledge of any programming language, but by slowly doing things myself, and a whole heap of trial and error, I got things going, and now I know many many programming languages, all because I first started doing things myself. Sure it took effort and a lot of cock ups, but i got there in the end.


Re: should be made or not? - Calgon - 09.05.2014

Quote:
Originally Posted by ******
Посмотреть сообщение
I'm not at all being sarcastic. You are right that coding things is a good way to learn - I agree. There are many parts of a mode to learn coding from, the bits that should be secure are not one of them. I said "the one part", meaning "possibly the only part", that you shouldn't do yourself. If you want to learn, code everything else from scratch and you will learn plenty.

No other bit really matters if you get it wrong: Bug in your properties system? Some people loose their houses - who cares! Bug in your vehicles system? A car blows up - who cares? Bug in your user system? You leak people's passwords - everyone cares!
I wrote a lot of my first bits of code based on tutorials and ideas used in other scripts, but I'd understand the purpose of every single line.

I think it's pretty unlikely that passwords will be leaked due to a bug in the user system though, I don't think I've ever heard a problem caused by bad scripting happen like that. It's important to have a good idea of what you're doing before you do it when you start out, so it's very unlikely something like that could happen if the new scripter read and followed the tutorial.