SA-MP Forums Archive
[Tutorial] The first step to scripting. - 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] The first step to scripting. (/showthread.php?tid=350595)



Re: Vortex Roleplay help - KiiD - 13.06.2012

Hello everyone, this is a very basic tutorial on your first steps of scripting. So, what I'm showing you how to get your server folder setup for the current release of June 2012+. So what you want to do is read the steps below, have any problems leave a comment below and either myself or amazing users of the community will answer for you! So without further to to heres the tutorial.

1. Installing SAMP: firstly goto http://www.sa-mp.com/ downloads.

Step 2: Click the hyperlink downloads for samp.exe client & the zip below. You will need BOTH of those files.

Step 3: run sampinstaller.exe inside your gta game directory.

Step 4: now thats installed open up the samp zip folder you downloaded. You may need either 7zip or winrar to extract and open the files inside. Once that's done make sure all files are inside a folder, for easy access uses, on your desktop.

Step 5: next open the folder on your desktop and open the 'Pawno' folder, then pawno.exe this is your script editor for scripting your server.

Step 6: click file, new (ctrl+n) then file save-as in the gamemodes folder located in the new desktop folder.

Step 7: we are now almost there! We just need to open the server.cfg inside the server folder. Open that up and edit the rcon password and hostname to whatever you like. Rcon is standard administration database that not many gamesmodes use at all. Lastly change the line that says gamemode0 to:
Code:
gamemode0 script 1
Where it says script edit that to the name you saved inside the pawno.exe

now all you need to do is launch the samp_server.exe. Last but not least open your samp.exe that you installed earlier and click the orange tick enter this ip:
Code:
127.0.0.1:7777
click ok then the green tick. Now you have your own server!

For your friends to join all you need to do it goto whatsmyip.org and give them your ip, use logmein hamachi or portforward also.


Re: The first step to scripting. - JhnzRep - 13.06.2012

I was making a series on scripting, and the first part was going to be setting up a test server.

On topic.. Good job ..But maybe add some screen shots?


Re: The first step to scripting. - KiiD - 13.06.2012

Yeah but I typed it all on my phone. :P


Re: The first step to scripting. - ReneG - 13.06.2012

Already covered millions of times across these forums.


Re: The first step to scripting. - JhnzRep - 13.06.2012

Quote:
Originally Posted by VincentDunn
View Post
Already covered millions of times across these forums.
Yea, so are MySql systems. But no one complains when a new one comes out


Re: The first step to scripting. - Kitten - 13.06.2012

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


Re: Vortex Roleplay help - KiiD - 13.06.2012

Quote:
Originally Posted by JhnzRep
View Post
Yea, so are MySql systems. But no one complains when a new one comes out
in addition to that, threads are pushed down. And new users seem not to uyse the search feature so if theres a new one every now and then im sure it won't bother you too much.


Re: Vortex Roleplay help - KiiD - 13.06.2012

Quote:
Originally Posted by Kitten
View Post
I've already read that, and that's exactly my point, this is a tut to help people start instead of them spamming questions.


Re: The first step to scripting. - ReneG - 13.06.2012

Quote:
Originally Posted by JhnzRep
View Post
Yea, so are MySql systems. But no one complains when a new one comes out
MySQL systems are far more complex than learning to start a sa-mp server. Everyone has a different style of code.

@KiiD, I understand your point, but it's just anybody can simply ****** this. The first page is filled with results. You could have found a more creative topic to make a tutorial on than something that can be done in one ****** search.


Re: The first step to scripting. - JhnzRep - 13.06.2012

Another roleplay chat tutorial, but you still made one. And roleplay chat's are not very complex..