Kem4ik
Умник
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33964) : error 079: inconsistent return types (array & non-array)
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : error 017: undefined symbol "CaptureInfo"
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : error 017: undefined symbol "COLOR_LIGHTGREY"
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : error 079: inconsistent return types (array & non-array)
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : fatal error 107: too many error messages on one line
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CMD:stopcapture(playerid, params[]) {
if(PlayerInfo[playerid][pAlcoInvenxua] < 5) return true;
if(!CaptureInfo || stopped_capture) return SendClientMessage(playerid, COLOR_LIGHTGREY, "Сейчас не проходит захват территории");
new reason[32];
if(sscanf(params, "s[32]", reason)) return SendClientMessage(playerid, COLOR_LIGHTGREY, "Используй: /stopcapture [причина]");
if(strlen(reason) > 32) return SendClientMessage(playerid, COLOR_LIGHTGREY, "Введена слишком длинная причина");
stopped_capture = true;
return format(stopping_mes, sizeof(stopping_mes), "Администратор %s остановил захват территории. Причина: %s", GetName(playerid), reason);
}
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : error 017: undefined symbol "CaptureInfo"
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : error 017: undefined symbol "COLOR_LIGHTGREY"
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : error 079: inconsistent return types (array & non-array)
C:\Users\kemal_u8los93\OneDrive\Рабочий стол\123123123\gamemodes\edit.pwn(33965) : fatal error 107: too many error messages on one line
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CMD:stopcapture(playerid, params[]) {
if(PlayerInfo[playerid][pAlcoInvenxua] < 5) return true;
if(!CaptureInfo || stopped_capture) return SendClientMessage(playerid, COLOR_LIGHTGREY, "Сейчас не проходит захват территории");
new reason[32];
if(sscanf(params, "s[32]", reason)) return SendClientMessage(playerid, COLOR_LIGHTGREY, "Используй: /stopcapture [причина]");
if(strlen(reason) > 32) return SendClientMessage(playerid, COLOR_LIGHTGREY, "Введена слишком длинная причина");
stopped_capture = true;
return format(stopping_mes, sizeof(stopping_mes), "Администратор %s остановил захват территории. Причина: %s", GetName(playerid), reason);
}
