Commands help
#2

Quote:
Originally Posted by Lixyde
Посмотреть сообщение
Lets say that i will add:

Код:
#define SERVER_NAME "MyServer"
How to make it work, and others like:
Код:
#define SERVER_VERSION "0.00.1"
For example?

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;
}
Reply


Messages In This Thread
Commands help - by Lixyde - 07.04.2018, 18:07
Re: Commands help - by ForCop - 07.04.2018, 18:44
Re: Commands help - by scripter112 - 08.04.2018, 10:02
Re: Commands help - by Codeah - 08.04.2018, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)