What is wrong?
PHP Code:
public client_connect(id)
{
static aname[32]
get_user_name(id, aname, 31)
if(!is_user_bot(id) && is_user_hltv(id) && (is_user_admin(id)==ADMIN_CVAR))
{
client_cmd(id, "name ^"%s %s^"", PREFIX, aname)
return PLUGIN_HANDLED;
}
return PLUGIN_HANDLED;
}
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Invalid character constant on line 10
Error: Invalid character constant on line 10
2 Errors.
Could not locate output file C:\Program Files\AMX Mod X\amxxstudio\Untitled.amx (compile failed).
__________________