GTA SA How to make your own server and Portforward.

Kalcor

Member
May 5, 2012
84
6
First you need to do is download samp game client from Second you must do is to download server files for windows: or Linux: . Install SAMP game client to GTA San Andreas game directory. Then make folder in it called samp or anyway you want. Extract server files in there. Open samp folder and find file named "Server.cfg". Open "Server.cfg" with notepad and it should look something like this:


echo Executing Server Config...
lanmode 0
rcon_password changeme
maxplayers 32
port 7777
hostname Unnamed 0.2X Server
gamemode0 lvdm 1
filterscripts adminspec vaction
announce 1
query 1
weburl
anticheat 0



First you need to do is download samp game client from Second you must do is to download server files for windows: or Linux: . Install SAMP game client to GTA San Andreas game directory. Then make folder in it called samp or anyway you want. Extract server files in there. Open samp folder and find file named "Server.cfg". Open "Server.cfg" with notepad and it should look something like this:

echo Executing Server Config...
lanmode 0
rcon_password changeme
maxplayers 32
port 7777
hostname Unnamed 0.2X Server
gamemode0 lvdm 1
filterscripts adminspec vaction
announce 1
query 1
weburl
anticheat 0

Change rcon password to your password,Example: rcon_password 012345

Then change hostname to your server name,Example: hostname Player killing server

You can change gamemode into any gamemode that are in gamemodes folder.(Also you can download gamemodes on

If you have your web url you can change it in your,Example: weburl

Ok, when you are done save your changes and exit.

You think you are ready? No. If you want to other players connect to you you need to open port. (It is port that you put in port line. Default 7777.) Opening port can't be better explained then on

When did you open your port do following only if you have Firewall on. Open your firewall and on Exceptions tab add port 7777 TCP and 7777 UDP (Must be port you forwarded)!

Also add program samp,it is located in your GTA SA directory and samp-server.exe and announce.exe in your server files folder. Double click on samp-server in server files folder and leave it on.(If it close right away you done something wrong. That should be it. If you did exactly your server is working. We are not finished yet. I saw many questions like How do i add cars to my server etc. How you do it. Easy, click on samp-debug.exe in your GTA SA directory and click launch debug. Ok, go to town where your server is going on and type /v then park it on place you want to be and type /save . Veichle id list can be found here: Ok thats how you add cars. How do you add characters? Again launch debug mode and select with F11 skin you want to save and go to place you want to spawn as that character and type /save . No you are not done. Cars or skins are not in your server. To add them do following:

Open Pawno.exe in server files directory>pawno>pawno.exe. Then click on file>open and search for your gamemode you put in server.cfg. Ok, now press ctrl+f and search OnGameModeInIt and search for line of text like AddStaticVeichle, and below that lines add your that can be found in GTA SA directory>SavedPositions.txt and copy>paste. it should look like this:

AddStaticVehicle(415,-680.9882,955.4495,11.9032,84.2754,36,1); //
AddStaticVehicle(460,-816.3951,2222.7375,43.0045,268.1861,1,3); //
AddStaticVehicle(460,-94.6885,455.4018,1.5719,250.5473,1,3); //
AddStaticVehicle(460,1624.5901,565.8568,1.7817,200 .5292,1,3); //
AddStaticVehicle(460,1639.3567,572.2720,1.5311,206 .6160,1,3); //
AddStaticVehicle(460,2293.4219,517.5514,1.7537,270 .7889,1,3); //
AddStaticVehicle(460,2354.4690,518.5284,1.7450,270 .2214,1,3); //
AddStaticVehicle(460,772.4293,2912.5579,1.0753,69. 6706,1,3); //
AddStaticVehicle(560,2133.0769,1019.2366,10.5259,9 0.5265,9,39); // Bravura
AddStaticVehicle(560,2142.4023,1408.5675,10.5258,0 .3660,17,1); // Taxi
AddStaticVehicle(560,2196.3340,1856.8469,10.5257,1 79.8070,21,1); // Tahoma

AddPlayerClass(91,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(92,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(93,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(95,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(96,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(97,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(98,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(99,1958.3783,1343.1572,15.3746,269. 1425,0,0,24,300,-1,-1);
AddPlayerClass(100,1958.3783,1343.1572,15.3746,269 .1425,0,0,24,300,-1,-1);
AddPlayerClass(101,1958.3783,1343.1572,15.3746,269 .1425,0,0,24,300,-1,-1);
AddPlayerClass(102,1958.3783,1343.1572,15.3746,269 .1425,0,0,24,300,-1,-1);

NOTE:Bravura,taxi,Tahoma are comment that i saved as comment.Example /v 566 Tahoma. Those without comment are gamemode default vehicle and don't change them. Also AddStaticVehicle must be separate from AddPlayerClass. Ok when you done all that press F5 and wait for it to compile. ok now start your server(samp-server.exe) and start samp.exe click on servers>add server and write your external ip and port(External ip can be found from . Example 83.131.65.54:7777

Port must be the one you forwarded(opened).

Ok that's it connect to your server and type /rcon login.


Credits:
100% to Kalcor for SA-MP, This Tutorial, Links, And for making SA-MP Possible.



Sorry if there's any spelling mistakes, Please PM me about these mistakes, as I have been typing this up quickly.

Lots of love, Kalcor.
 

R3GuLaTiOnS

Member
May 12, 2012
74
7
Can you make a TUT on How to make a RP SAMP Server?

No, I meant RolePlay SaMP Server, Not RuneScape...
 
Last edited by a moderator:

Kalcor

Member
May 5, 2012
84
6
A bit long, it could be shortened a bit.. but its okay :)


Thanks a lot pal! I'm not really the type to do a tut but you know, I had too many requests so I had to do what I had to do.

Thanks a lot for commenting, I'll be glad to help you out in your next project if you want! HTML5 and C+++ is my favourite languages I know! out of the rest that I know.

I know HTML, HTML5, PHP, C+++, JAVA, Pawn (OFC), ActionScript, AppleScript, C#, ColdFusion, JavaScript.

and I'm a freelance web designer!
 

Demonz

Member
Oct 6, 2011
144
12
to portfoward it requires you to be hard lined to the modem directly.
Secondly you must be able to acess your router though 192.168.1.1
After you log in its easy just use your brain make sure its UDP & TCP Port 7777 or w.e it is for your Game server.
 

Swift

Member
Sep 2, 2013
107
13
Looks like a decent and fully detailed tutorial.

Lookin' forward to making my own one! Haha.

Is this free? Or do I have to pay?

Thanks!
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
Looks like a decent and fully detailed tutorial.

Lookin' forward to making my own one! Haha.

Is this free? Or do I have to pay?

Thanks!
it free to download but u need to pay a vps or something to host it unless u can host it on your router
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
i thought u could as long as you portfoward through your router and switch announce 0 to 1
as long u know how to port forward your router then go ahead but downloading the server and clinet multioplayer for sa-mp is free
 

Demonz

Member
Oct 6, 2011
144
12
Lets test it out , I am local hosting my server right now try to connect and let me know 96.253.44.44 port 7777
 

Kalcor

Member
May 5, 2012
84
6
This is alot lol i might try it thanks
You're welcome.

Thanks guys, for the comments. I tried to make it as detailed as possible, it is free to host your own SA-MP server, but you are recommended to use a VPS, or your own Windows Server.
 

Users who are viewing this thread

Top