Hello everyone, here is the error:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// a_menu.sma
// D:\Server\...\scripting\a_menu.sma(23) : error 088
: number of arguments does not match definition
//
// 1 Error.
// Could not locate output file D:\Server\...\scripting\compiled\a_menu.amx (compile failed).
//
// Compilation Time: 0,06 sec
// ----------------------------------------
Press enter to exit ...
Here is the code where the error:
HTML Code:
if(strlen(read_argv(1)) > 8)
{
client_print(id, print_chat, "* The password can not be longer than 7 characters.")
client_cmd(id, "messagemode server_password")
return PLUGIN_HANDLED
}
I need to do a background check, that one argument was not longer than 7 characters. How to do it?