03.07.2018, 06:40
To run a gamemode which is based on MySQL, you need to do roughly the following:
- Put your SA:MP server and the gamemode files somewhere on your disk.
- Install the MySQL server and make sure that it is running. You can either install MySQL yourself or use it as part of XAMPP which is more noob-friendly. The latter also comes with PhpMyAdmin which is a tool that allows you to manage your database.
- The gamemode should come with a .sql file that contains the database structure and/or data. You need to import that using PhpMyAdmin or another management tool.
- Configure the gamemode (usually in the script itself) to connect to your database by pointing it at the correct host, port, username and password.
- Put your SA:MP server and the gamemode files somewhere on your disk.
- Install the MySQL server and make sure that it is running. You can either install MySQL yourself or use it as part of XAMPP which is more noob-friendly. The latter also comes with PhpMyAdmin which is a tool that allows you to manage your database.
- The gamemode should come with a .sql file that contains the database structure and/or data. You need to import that using PhpMyAdmin or another management tool.
- Configure the gamemode (usually in the script itself) to connect to your database by pointing it at the correct host, port, username and password.