Help me! Could not locate output file
i got this error :(
//// d2_announcer.sma // C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\d2_an nouncer.sma(29) : error 088: number of arguments does not match definition // // 1 Error. // Could not locate output file C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\compi led\d2_announcer.amx (compile failed). // // Compilation Time: 0.31 sec // ---------------------------------------- Press enter to exit ... My code: #include <amxmodx> #include <amxmisc> #include <d2lod> new PLUGIN_NAME[] = "Diablo2 Log Announcer" new PLUGIN_AUTHOR[] = "AkkaStyle" new PLUGIN_VERSION[] = "2.2" new const HEROES[][] = { "Hunter", "Assassin", "Warlock", "Warrior", "Rogue", "Druid", "Mage" } new const LEVELS[] = { } public plugin_init() { register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR) } public d2_logged(id, log_type) { static name[32] ; get_user_name(id, name, charsmax(name), LEVELS); if ( log_type == LOGGED ) { client_printcolor( 0, "/y[ /g%s /y] - /ctr%s /yhas logged ON.", name, HEROES[ get_p_hero(id) ], LEVELS[ get_p_level(id) ]); } else { client_printcolor( 0, "/y[ /g%s /y] - /ctr%s /yhas logged OFF.", name, HEROES[ get_p_hero(id) ], LEVELS[ get_p_level(id) ]); } } |
Re: Help me! Could not locate output file
Quote:
Too bad. |
Re: Help me! Could not locate output file
Quote:
|
Re: Help me! Could not locate output file
Quote:
Look, the line I highlighted makes no sense. Code:
|
Re: Help me! Could not locate output file
Quote:
|
Re: Help me! Could not locate output file
[pawn] or [php]
|
Re: Help me! Could not locate output file
ok
PHP Code:
|
Re: Help me! Could not locate output file
You have to end it with [/php]. Don't post again just edit your last post.
|
Re: Help me! Could not locate output file
here is it
|
Re: Help me! Could not locate output file
I mean't your code looks terrible not the indentation.
What's this for Code:
|
| All times are GMT -4. The time now is 20:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.