PHP Code:
#include <amxmodx>
#include <amxmisc>
#define ACCESS ADMIN_SLAY
new tagct[] = "CT";
new tagt[] = "T";
public plugin_init()
{
register_plugin("tag", "1.0", "tag");
register_concmd("amx_tagctt", "tagct", ACCESS, "<Tagct> - CT Tag");
register_concmd("amx_tagtt", "tagt", ACCESS, "<Tagt> - T Tag");
register_clcmd("say .score","say_score");
}
public say_score(id)
{
client_print(id, print_chat, "Score is: %s: 11 %s: 10", tagct, tagt)
}
public tagctt( id, level, cid )
{
if( !cmd_access( id, level, cid, 4 ) )
return PLUGIN_HANDLED;
read_argv(1, tagct);
remove_quotes(tagct);
console_print(id, "Tag from CT team is %s", tagct)
return PLUGIN_HANDLED;
}
public tagtt( id, level, cid )
{
if( !cmd_access( id, level, cid, 4 ) )
return PLUGIN_HANDLED;
read_argv(1, tagt);
remove_quotes(tagt);
console_print(id, "Tag from T team is %s", tagt)
return PLUGIN_HANDLED;
}
/tmp/textXZxDrc.sma(26) : error 088: number of arguments does not match definition
/tmp/textXZxDrc.sma(39) : error 088: number of arguments does not match definition
2 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textXZxDrc.amx (compile failed).