Thanks for the help HLM, in compile im taking a few errors and i have fixed the most simple ones but the code still having 2 errors that i don't know how to fix. Here is ..
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Easy Password Changer"
#define VERSION "1.0"
#define AUTHOR "Master"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say", "Hook_Say", -1, "This is how you say things!")
}
public Hook_Say(id, level, cid)
{
if (!cmd_access(id,level,cid,2))
return PLUGIN_CONTINUE;
new said[128];
read_args(said, sizeof(said)-1)
remove_quote(said)
if(equali(said, ".nopass"))
set_cvar_string("sv_password", "")
else if(equali(said, ".pass",5))
{
replace(said, sizeof(said)-1, ".pass ", "")
set_cvar_string("sv_password", said);
}
return PLUGIN_CONTINUE;
}
Added 1
parenthesis in first if and other 1 in else if.
Added return PLUGIN_CONTINUE; in the final of the code
I fixed this things but i still having in the line 13 :
warning 217: loose indentation
And in the line 24:
error 017: undefined symbol "remove_quote"