JackEyes
Дебютант
Я вписал в мод команды для рестарта
но выбивает ероры
помогите
CMD:tehrabotaon", true) == 0)
{
if(pInfo[playerid][pAdmin] <= 7) return SendClientMessage(playerid, COLOR_RED, "Нужно иметь более высокий уровень доступа!");//Проверк на админа
SendRconCommand("password" StawberyyRP); // Пароль
SetGameModeText("Stawberry"); // Думаю понятно
SendRconCommand("Stawberry"); // ????? ??? ???????
SendRconCommand("hostname Stawberry RolePlay |У нас Тех.Работы");//
SendClientMessageToAll(CREAD,"Сейчас будет Тех.Работы мы сообщим в дискорд сервере когда откроем сервер!"); //
}
CMD:technicalworkoff", true) == 0)
{
if(pInfo[playerid][pAdmin] <= 7) return SendClientMessage(playerid, COLOR_RED, "????? ????? ????? ??????? ??????? ???????!");// ???????? ?? ???(6 ???????? ?? ???? ????? ????????????? ??????)
SendRconCommand("password 0"); //
SetGameModeText("Stawberry"); //
SendRconCommand("Stawberry Russia"); //
SendRconCommand("hostname Stawberry RolePlay"); //
SendClientMessageToAll(COLOR_RED, string, "{6495ED}[??????????] {FFFFFF} Сейчас будет Тех.Работы мы сообщим в дискорд сервере когда откроем сервер!");
}
{
if(pInfo[playerid][pAdmin] <= 7) return SendClientMessage(playerid, COLOR_RED, "Нужно иметь более высокий уровень доступа!");//Проверк на админа
SendRconCommand("password" StawberyyRP); // Пароль
SetGameModeText("Stawberry"); // Думаю понятно
SendRconCommand("Stawberry"); // ????? ??? ???????
SendRconCommand("hostname Stawberry RolePlay |У нас Тех.Работы");//
SendClientMessageToAll(CREAD,"Сейчас будет Тех.Работы мы сообщим в дискорд сервере когда откроем сервер!"); //
}
CMD:technicalworkoff", true) == 0)
{
if(pInfo[playerid][pAdmin] <= 7) return SendClientMessage(playerid, COLOR_RED, "????? ????? ????? ??????? ??????? ???????!");// ???????? ?? ???(6 ???????? ?? ???? ????? ????????????? ??????)
SendRconCommand("password 0"); //
SetGameModeText("Stawberry"); //
SendRconCommand("Stawberry Russia"); //
SendRconCommand("hostname Stawberry RolePlay"); //
SendClientMessageToAll(COLOR_RED, string, "{6495ED}[??????????] {FFFFFF} Сейчас будет Тех.Работы мы сообщим в дискорд сервере когда откроем сервер!");
}
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(11312) : loose indentation
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(13252) : symbol is assigned a value that is never used: "team"
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(39641) : loose indentation
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54388) : error 037: invalid string (possibly non-terminated string)
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54390) : error 010: invalid function or declaration
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54398) : error 037: invalid string (possibly non-terminated string)
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54400) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2016, ITB CompuPhase
4 Errors.
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(13252) : symbol is assigned a value that is never used: "team"
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(39641) : loose indentation
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54388) : error 037: invalid string (possibly non-terminated string)
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54390) : error 010: invalid function or declaration
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54398) : error 037: invalid string (possibly non-terminated string)
C:\Users\PC\Desktop\S-RP mid\gamemodes\desmond.pwn(54400) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2016, ITB CompuPhase
4 Errors.
