Сейчас на сайте
Всего онлайн: 756
5
391
360
Пользователи онлайнВсе (5)
На главной странице
30 мин
На сайте
56 мин
Смотрит публикацию
91 мин
Смотрит публикацию
93 мин
На главной странице
93 мин

RAGE:MP | AwardAPI

Описание

This script lets you create awards/achievements and give them to players.

Installing

Put the files you downloaded in their respective places

Add require('awards') to client_packages/index.js

Open packages/awards/database.js and put your MySQL config

All done

API - Exported

You need to load awards/api.js in your script with using require() for these.

/*

awardDefinitions object contains all defined awards.


Keys of this object are valid award IDs.

*/

awardDefinitions

/*

Defines an award. Awards can be single or multi tier depending on what you send to requiredProgress.


If you send an array of numbers, it will be a multi tier award. (then tierColor must be an array of numbers too, tierColors length being the same as equire




Автор публикации:

Flox Даниил Девелоп

Скачать:

Скачать

Дата:
Автор ресурса:

rootcause

Пока никто не оставил комментарий — станьте первым.