24.02.2013, 14:21
(
Last edited by Jstylezzz; 15/04/2013 at 01:18 PM.
)
How to update old scripts to the newest sa-mp version
Introduction
Hi everyone.
This might seem a stupid tutorial, and won't be needed for many of you since the biggest part of the people here know how to update old scripts to the new sa-mp version but I've seen so many many questions, about how to update to a new version, and I still see them, so I decided to write this tutorial so people can search for the solution in the future.
For those out there who don't know this and want to know how to do it, continue reading, it's easier than you think.
Preparation
- Making a back up of the current situation
- What will I need?
On the second row, you will find the English version of WinRAR, select the 32-bit version if you have a 32-bit Windows OS, or the 64-bit version for the 64-bit Windows OS.
Part 1 - Downloading and preparing the files
- Downloading the files
- Preparing the files
Now a dialog should pop up, press OK at the bottom.
If you did everything right so far, a folder should show up on your desktop containing the extracted files.
Now, go inside that folder, and press CTRL+A , so everything is selected, if you've selected everything, press CTRL+C to copy the files.
To finish the first part, go to the folder of your server, and press CTRL+V to paste the files.
Probably a dialog pops up, to ask you if you want to merge the existing folders.
At the bottom of the dialog, select the box 'Do this for all current items' and press the Yes button at the bottom.
Probably a new dialog pops up, with the question if you want to replace the existing files.
Select the box at the bottom again, which says 'Do this for the next x conflicts', and select the first option 'Copy and Replace'.
Congrats, you completed the first part of the update process! The new executables and includes are there, now you just need to compile!
Part 2 - Compiling the scripts
- Re-compiling your script with the latest includes
So, open up the pawno folder in your server folder, and press pawno.exe.
Now, press the open button at the top left, and navigate to the script you want to update.
Once you loaded the script, press F5 to compile like allways, and if there are no errors, you probably done everything right!
Edit the server.cfg to your needs, add the plugins line with the plugins you use, and also UPDATE YOUR PLUGINS AND DOWNLOADED INCLUDES, I haven't included this in my tutorial, since it's the exact same process as the standard sa-mp updating.
Don't forget to change the rcon-password in the server.cfg from 'changeme' to something else, something safe. If you don't change this, the console will close and thus, your server won't start.
In case you want to view the images I used in full size, here's the album on Imageshack
This was my tutorial about updating your sa-mp server, if you have any questions, please reply, and if you want me to add the part about plugin updating aswell, please tell that in a reply, and I will add it.
I hope some of you found this usefull, good luck with your sa-mp server!