SA-MP Forums Archive
[Tutorial] How to make a gamemode from scratch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to make a gamemode from scratch (/showthread.php?tid=284993)



Introduction to gamemode, commands, defines - N.K.Stallone - 21.09.2011

Deleted


Re: How to make a gamemode from scratch - Miksa - 21.09.2011

WTF?

You didn't explain anything.


Re: How to make a gamemode from scratch - N.K.Stallone - 21.09.2011

Quote:
Originally Posted by Miksa
View Post
WTF?

You didn't explain anything.
First don't swear and second i explained even more than i need i just needed to post the GM template and explain something but i added more.


Re: How to make a gamemode from scratch - Kingunit - 21.09.2011

When you are creating a tutorial. Atleast use the PAWN tags. [pawn] [/pawn].


Re: How to make a gamemode from scratch - Davz*|*Criss - 21.09.2011

It seems to be explained more in some parts, anyways i like your tutorial, keep it up good work and i would like to see more tuts.


Re: How to make a gamemode from scratch - Vince - 21.09.2011

Quote:
Originally Posted by bgtracker
View Post
Code:
if (strcmp("/gotols", cmdtext, true, 10) == 0)
Quote:
Originally Posted by Y_Less
View Post
Because people still used the old methods in their modes (updating is a lot of work so this may be fair enough) they continued to teach new people them, who then themselves taught people them. If you know you're not using the most up-to-date way of doing something WHY POST? Either explain the better way, regardless of whether or not you use it, or just don't post in the first place!
4 char.


Re: How to make a gamemode from scratch - N.K.Stallone - 21.09.2011

Quote:
Originally Posted by Davz*|*Criss
View Post
It seems to be explained more in some parts, anyways i like your tutorial, keep it up good work and i would like to see more tuts.
Thanks.


Re: How to make a gamemode from scratch - Deskoft - 21.09.2011

Quote:
Originally Posted by bgtracker
View Post
First don't swear and second i explained even more than i need i just needed to post the GM template and explain something but i added more.
You clearly said 'how to make a gamemode from scratch'.
This is not a gamemode clearly, this is just a blank gamemode.
It's not bad, you can try to keep adding more information, but as for now, it's not a tutorial, just a introduction.


Re: How to make a gamemode from scratch - N.K.Stallone - 21.09.2011

Quote:
Originally Posted by Kingunit
View Post
When you are creating a tutorial. Atleast use the PAWN tags. [pawn] [/pawn].
Fixed


Re: How to make a gamemode from scratch - grand.Theft.Otto - 21.09.2011

I am no newbie, but for a newbie, this tutorial has barely any explanations ...

Quote:

Now the last thing i wanna tell you is that sometimes when you make more difficult changes in your gamemode you will need includes so when you downlaod includes put them in the top of your script like that and also when you downlaod include you need to put it in /pawno/includes:

Newbies won't understand what an ' include ' is or where to download it and how to use it properly.

pawn Code:
if (strcmp("/gotols", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, x,y,z);
                SendClientMessage(playerid, COLOR_DARKGREY, "You have been teleported");
        return 1;
    }
    return 0;
You didn't explain what the two return value's mean, like what return 1 and return 0 mean/do. You also didn't tell them WHERE to put the above command.

And as Deskoft said, this isn't a gamemode, it's more of an introduction.

Sorry to be a bitch.