Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Racing roleplay gamemode for Multi Theft Auto.

Notifications You must be signed in to change notification settings

nbredikhin/drift-paradise-mta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drift Paradise

English

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

Instructions

  1. 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]
  1. 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.
  2. 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>
  1. 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

Русский

Drift Paradise это гоночный игровой режим для Multi Theft Auto: San Andreas. Этот репозиторий содержит исходный код его старой версии (20 декабря 2016 года).

Инструкции и ответы на ваши вопросы (про карты и гараж тоже): https://github.com/dpmta/driftparadise/wiki

Инструкция по запуску

  1. Склонируйте этот репозиторий в папку resources вашего сервера:
git clone https://github.com/dpmta/driftparadise.git [dp]

или

git clone https://github.com/dcr30/drift-paradise-mta.git [dp]
  1. Установите MySQL сервер и укажите данные для подключения к нему в файле [core]/dpCore/server/database/DatabaseConfig.lua (этот файл потребуется создать из DatabaseConfig-sample.lua) Измените значения полей host, port, dbName, username and password на необходимые вам.
  2. Добавьте в файл 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>
  1. Включите сервер MTA и запустите мод:
start dpStartup

Чтобы выключить или перезагрузить мод, используйте ресурс dpStartup:

stop dpStartup
restart dpStartup

License

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.

About

Racing roleplay gamemode for Multi Theft Auto.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published