07.04.2018, 18:44
Quote:
Lets say that i will add:
Код:
#define SERVER_NAME "MyServer" Код:
#define SERVER_VERSION "0.00.1" How to make it work? What is the command? I Mean i know i need to add something in OnGamemodeInit but what is it? |
Код:
#define SERVER_NAME "hostname MyServer" #define MAP_NAME "mapname San Andreas" #define LANGUAGE "language Russian" #define GAME_MODE "STUNT/DM/DRIFT" #define WEB_URL "weburl www.forum.sa-mp.com" public OnGameModeInit() { SendRconCommand(SERVER_NAME); SendRconCommand(MAP_NAME); SendRconCommand(LANGUAGE); SendRconCommand(WEB_URL); SetGameModeText(GAME_MODE); return true; }