Errors when compiling

Сообщения
3
Реакции
0
Ошибка
multiple errors
Компилятор
Локальный
Amx Mod X
1.9.0
Исходный код
attached
These are the mistakes

//// rank_system_ultimate.sma
//
// Compiler\include\reapi_stocks.inc(980) : error 021: symbol already defined: "rg_remove_entity"
// Compiler\include\reapi_stocks.inc(980) : error 001: expected token: "=", but found ")"
// Compiler\include\reapi_stocks.inc(981) : error 010: invalid function or declaration
// Compiler\rank_system_ultimate.sma(384 -- 385) : error 017: undefined symbol "MAX_MAPNAME_LENGTH"
// Compiler\rank_system_ultimate.sma(1699) : error 017: undefined symbol "MAX_MAPNAME_LENGTH"
// Compiler\rank_system_ultimate.sma(1700) : error 017: undefined symbol "szMap"
// Compiler\rank_system_ultimate.sma(1700) : error 072: "sizeof" operator is invalid on "function" symbols
// Compiler\rank_system_ultimate.sma(1700) : error 029: invalid expression, assumed zero
// Compiler\rank_system_ultimate.sma(1700) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 9 Errors.
// Could not locate output file compiled\rank_system_ultimate.amx (compile failed).
//
// Compilation Time: 2.09 sec
//---------------------------------------

So I found this paid plugin laying around for free, but I can't compile it. Since I didnt buy it, I cant ask the plugin creator for help.
Its a cool rank system plugin, maybe someone can help.
Maybe because the local compiler I got from you guys us 1.9.0 and the plugin requires 1.10

EDIT:
I updated the compiler to 1.10
Now I get it
//// rank_system_ultimate.sma
//
// Compiler 1.10\scripting\include\reapi_stocks.inc(980) : error 021: symbol already defined: "rg_remove_entity"
// Compiler 1.10\scripting\include\reapi_stocks.inc(980) : error 001: expected token: "=", but found ")"
// Compiler 1.10\scripting\include\reapi_stocks.inc(981) : error 010: invalid function or declaration
//
// 3 Errors.
// Could not locate output file compiled\rank_system_ultimate.amx (compile failed).
//
// Compilation Time: 2.3 sec
//---------------------------------------
 

Download all Attachments

Последнее редактирование:
Сообщения
3
Реакции
0
@undefined, Thanks! that fixed it. Was able to compile but the plugin doesnt work. Proably some old and useless version.
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу