// by the AMX Mod X Dev Team
Ошибка при компиляции
//// imp_donate.sma
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(50) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_STRING")
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(55) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_VECTOR")
// C:\Users\┬рёшышщ\Desktop\compiler\include\string_stocks.inc(91) : warning 207: unknown #pragma
// C:\Users\┬рёшышщ\Desktop\compiler\include\string_stocks.inc(91) : error 038: extra characters on line
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(109) : error 017: undefined symbol "set_dhudmessage"
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(110) : error 017: undefined symbol "show_dhudmessage"
//
// 5 Errors.
// Could not locate output file C:\Users\┬рёшышщ\Desktop\compiler\compiled\imp_donate.amx (compile failed).
//
// Compilation Time: 0,39 sec
// ----------------------------------------
Press enter to exit ...
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(55) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_VECTOR")
// C:\Users\┬рёшышщ\Desktop\compiler\include\string_stocks.inc(91) : warning 207: unknown #pragma
// C:\Users\┬рёшышщ\Desktop\compiler\include\string_stocks.inc(91) : error 038: extra characters on line
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(109) : error 017: undefined symbol "set_dhudmessage"
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(110) : error 017: undefined symbol "show_dhudmessage"
//
// 5 Errors.
// Could not locate output file C:\Users\┬рёшышщ\Desktop\compiler\compiled\imp_donate.amx (compile failed).
//
// Compilation Time: 0,39 sec
// ----------------------------------------
Press enter to exit ...
В чем причина ?
Добавлено спустя 3 минуты 30 секунд:
Решил эти ошибки
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(109) : error 017: undefined symbol "set_dhudmessage"
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(110) : error 017: undefined symbol "show_dhudmessage"
// C:\Users\┬рёшышщ\Desktop\compiler\imp_donate.sma(110) : error 017: undefined symbol "show_dhudmessage"
Добавлено спустя 4 минуты 22 секунды:
Осталось две....
//// imp_donate.sma
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(50) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_STRING")
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(55) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_VECTOR")
//
// 2 Errors.
// Could not locate output file C:\Users\┬рёшышщ\Desktop\compiler\compiled\imp_donate.amx (compile failed).
//
// Compilation Time: 0,39 sec
// ----------------------------------------
Press enter to exit ...
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(50) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_STRING")
// C:\Users\┬рёшышщ\Desktop\compiler\include\amxconst.inc(55) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_VECTOR")
//
// 2 Errors.
// Could not locate output file C:\Users\┬рёшышщ\Desktop\compiler\compiled\imp_donate.amx (compile failed).
//
// Compilation Time: 0,39 sec
// ----------------------------------------
Press enter to exit ...
Добавлено спустя 3 минуты 10 секунд:
Решил путём замены (amxconst.inc,amxmodx.inc)
//// imp_donate.sma
// Header size: 1184 bytes
// Code size: 10140 bytes
// Data size: 2628 bytes
// Stack/heap size: 16384 bytes; estimated max. usage=559 cells (2236 bytes)
// Total requirements: 30336 bytes
// Done.
//
// Compilation Time: 0,59 sec
// ----------------------------------------
Press enter to exit ...
// Header size: 1184 bytes
// Code size: 10140 bytes
// Data size: 2628 bytes
// Stack/heap size: 16384 bytes; estimated max. usage=559 cells (2236 bytes)
// Total requirements: 30336 bytes
// Done.
//
// Compilation Time: 0,59 sec
// ----------------------------------------
Press enter to exit ...