Advertisement
Calgon

Installation tutorial

Nov 10th, 2011
5,649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.97 KB | None | 0 0
  1. You'll need to follow these instructions quite precisely to get this game mode working. If you don't, then I can't guarantee you'll be able to get this script working. I'd certainly appreciate it if you read these instructions instead of creating a [url=http://forum.sa-mp.com/showpost.php?p=1298165&postcount=413]rather quite stupid response[/url].
  2.  
  3. [list=1][*]Download the relevant package for your server's operating system[*]Unzip the package to a folder somewhere on your computer[*]Edit your server.cfg for your server's name and RCON password[*]Download the [url=http://solidfiles.com/d/a7ec/]Scripting Package[/url] and unzip it[*]Open Pawno from the Scripting Package from the 'pawno' folder[*]Navigate to the .pwn file from Pawno to where you put the server package, open vx-rp.pwn[*]Create your database/username for MySQL[*]Use phpMyAdmin or some other alternative to import the SQL dump[*]Update scriptfiles/MySQL.txt with your MySQL details, it's in the format of 'database name|database hostname|database username|database password' (without any quotation marks around it, AND THERE IS NOT A '|' SYMBOL AT THE END  OF THE PASSWORD!)[*]Upload the server package with the newly updated .pwn & .amx file[*]Confirm all of the correct files have been uploaded. This is everything in your server package - including server.cfg![*](Re)Start your server[/list]
  4.  
  5. [B]** NOTES FOR STEP 1 **[/B]
  6. If you're not quite sure which operating system the server will be used on, take a look at [url=http://forum.sa-mp.com/showthread.php?t=189169]this[/url] list.
  7.  
  8. Note: Debian is a Linux distribution, 'Win' is an abbreviation of Windows and CentOS is a Linux distribution. If multiple operating systems are listed, you should contact the support staff of the hosting company you're with to ask.
  9.  
  10. [B]** NOTES FOR STEP 7 **[/B]
  11. Assuming you're using a SA-MP host (such as volt-host or serverFFS), you'll be able to create a database for MySQL. To do this, you'll need to navigate to the part of your hosts' control panel which allows you to create a database - if you're unsure where the 'create database' tool will be located, take a look through each section of the hosts' control panel.
  12.  
  13. To create your database, you might be asked to create a username and password for your database - you'll have to remember this information for your server, because once you've created the database, you're going to need to fill out the information in the 'SQL_*' defines in the script.
  14.  
  15. [B]** NOTES FOR STEP 8 **[/B]
  16. In the server packages, you'll notice there's a file included that retains the file extension of '.sql', most server hosts will give you direct access to phpMyAdmin - where you'll probably be required to login to it with the information you used to create your MySQL database. You'll need to import the data of the sql file in to phpMyAdmin (or whatever you have to your avail). A video tutorial I found on the web which might be useful for this operation is [url=http://www.youtube.com/watch?v=fywMpgFzpKk]here[/url].
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement