Перейти к содержанию

Mp.config

Материал из RAGE MP Wiki Archive
Версия от 15:30, 14 января 2018; imported>Shyim
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns object of server configurations like name, maxplayers.

See all default setting options

Example

Server-Side

<syntaxhighlight lang="javascript"> console.log(mp.config.name) // "Default RageMP Server" console.log(mp.config.maxplayers) // 100 </syntaxhighlight>