Drift Paradise is the racing gamemode for Multi Theft Auto: San Andreas. This repository contains source code of its old version (December 20, 2016).
FAQ: https://github.com/dpmta/driftparadise/wiki
- Clone this repository into your server's
resources
directory.
git clone https://github.com/dpmta/driftparadise.git [dp]
or
git clone https://github.com/dcr30/drift-paradise-mta.git [dp]
- Install MySQL server and enter your credentials in
[core]/dpCore/server/database/DatabaseConfig.lua
(you will need to create this file from DatabaseConfig-sample.lua) Change host, port, dbName, username and password to desired values according to your MySQL installation. - Modify your server's
acl.xml
to give admin rights to specific resources:
<object name="resource.dpAdmin"></object>
<object name="resource.dpStartup"></object>
<object name="resource.dpTelegramChat"></object>
<object name="resource.builder"></object>
<object name="resource.encrypter"></object>
- Start MTA server then launch gamemode using the following command:
start dpStartup
You can stop and restart gamemode by stopping and restarting dpStartup resource:
stop dpStartup
restart dpStartup
Инструкции и ответы на ваши вопросы (про карты и гараж тоже): https://github.com/dpmta/driftparadise/wiki
- Склонируйте этот репозиторий в папку
resources
вашего сервера:
git clone https://github.com/dpmta/driftparadise.git [dp]
или
git clone https://github.com/dcr30/drift-paradise-mta.git [dp]
- Установите MySQL сервер и укажите данные для подключения к нему в файле
[core]/dpCore/server/database/DatabaseConfig.lua
(этот файл потребуется создать из DatabaseConfig-sample.lua) Измените значения полей host, port, dbName, username and password на необходимые вам. - Добавьте в файл
acl.xml
строки, указанные ниже, чтобы выдать права администратора некоторым ресурсам:
<object name="resource.dpAdmin"></object>
<object name="resource.dpStartup"></object>
<object name="resource.dpTelegramChat"></object>
<object name="resource.builder"></object>
<object name="resource.encrypter"></object>
- Включите сервер MTA и запустите мод:
start dpStartup
Чтобы выключить или перезагрузить мод, используйте ресурс dpStartup:
stop dpStartup
restart dpStartup
Copyright (c) 2018, Nikita Bredikhin.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.