SA-MP Forums Archive
server - 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: server (/showthread.php?tid=162355)



server - kraizer666 - 23.07.2010

I was looking into trying to start my own server. Firstly I need to learn the PAWN language but I can't find any good tutorials :/ If you know of any that would be awesome.

I also need to know how to setup my server. Ie. putting buildings, putting car locations, making check points ect.

I'm looking through things here for that.


Re: server - John_F - 23.07.2010

I suggest you look at the roleplay scripts here for examples.
There are tutorials on the tutorial board:
http://forum.sa-mp.com/forumdisplay.php?f=70

You can make buildings by "Mapping"

Cars can be added to your script by the line:
AddStaticVehicle(modelID, x-coordinate, y-coordinate, z-coordinate, color 1, color 2);

You can get the coordinates of a vehicle by going into any server, entering a vehicle, parking it the way you want it to spawn and doing /save

The locations will be saved in your gtasa folder where your samp is installed, it'll be in the file savedpositions

To get the cars in the script, add it to the pawn code.

You can get started with your server by downloading the server kit here:
http://www.sa-mp.com/download.php
the windows/linux server not the client. The client is used to play servers, but I'm sure you knew that already :P.


Re: server - DarkClone - 23.07.2010

And you can learn a bit off the sa-mp wiki,

wiki.sa-mp.com, Hope that helps!

Good luck!


Re: server - John_F - 23.07.2010

Ahh right, I forgot abt the wiki.


Re: server - Arsham7 - 24.07.2010

Yea its great to see samp finally got [Tutorial] sections etc.. i just noticed