Compile error
PHP Code:
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team Error: Argument type mismatch (argument 1) on line 120 Error: Array must be indexed (variable "-unknown-") on line 121 Error: Argument type mismatch (argument 1) on line 585 Error: Array must be indexed (variable "-unknown-") on line 614 Error: Inconsistent return types (array & non-array) on line 640 |
Re: Compile error
And we should guess lines numbers ?
Compiler gives you lines numbers where error occurs, if you don't paste the whole code, please highlight (pawn or small tag + @@ in front of line) those lines. [Edit] Ok, you just did it :) get_player_id(p_r) { -> get_player_id(p_r[]) { |
Re: Compile error
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team Error: Array must be indexed (variable "-unknown-") on line 121 Error: Argument type mismatch (argument 1) on line 585 Error: Array must be indexed (variable "-unknown-") on line 614 Error: Inconsistent return types (array & non-array) on line 640 |
Re: Compile error
Attach the whole plugin.
|
Re: Compile error
it is private plugin, ... Tell me what part you want to paste it here...
|
Re: Compile error
PHP Code:
|
Re: Compile error
Quote:
Quote:
|
Re: Compile error
vato, i just said that is a private plugin, and i can paste some code but not whole...
i paste these two lines because an error in the compiler is here... new useID = arg2; //614 |
Re: Compile error
i have seen it that it is private
but you came to scripthelp and ask for help... if you want to get help you have to provide more code... otherwise it will be difficult to help you ..... post the whole functions where you get errors and not only pieces of it... no one here can clairvoyance... |
Re: Compile error
PHP Code:
|
| All times are GMT -4. The time now is 20:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.