- Автор темы
- #1
При компиляции вылазят эти ошибки
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : warning 215: expression has no effect
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : error 001: expected token: ";", but found "."
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.10.8 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Строка ошибки
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : warning 215: expression has no effect
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : error 001: expected token: ";", but found "."
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Íîâàÿ ïàïêà (2)\Aurora RP\gamemodes\new.pwn(33567) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.10.8 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Строка ошибки
C++:
public OnGameModeInit() {
gCurDay = GetDayNumber();
SetGameModeText("A-RP v7.0 | 25.04.21");
new MySQLOpt: option_id = mysql_init_options();
mysql_set_option(option_id, AUTO_RECONNECT, true);
SendRconCommand("hostname "HostName" | ОБТ");
SELECT_SERVER = 1;
(33567) if(SELECT_SERVER == 1) connects = mysql_connect(""65.108.99.34"", ""gs23106"", ""hHWYMGqjvL"", ""gs23106"", option_id);
else if(SELECT_SERVER == 2) connects = mysql_connect("65.108.99.34", "gs23106", "hHWYMGqjvL", "gs23106", option_id);
switch(SELECT_SERVER) {
case 1: printf("[Загрузка ...] БД MYSQL успешно соединено! (СЕРВЕР [ОСНОВНОЙ] | %i)",SELECT_SERVER);
case 2: printf("[Загрузка ...] БД MYSQL успешно соединено! (СЕРВЕР [ТЕСТОВЫЙ] | %i)",SELECT_SERVER);
case 3: printf("[Загрузка ...] БД MYSQL успешно соединено! (СЕРВЕР [LOCALHOST] | %i)",SELECT_SERVER);
}