Looks like you're in the wrong section, buddy, this is for SourceMod
scripting help.
Anyways:
PHP Code:
public print_allTalk(id)
{
new alltalkStatus[256]
if(is_user_admin(id))
{
if(get_cvar_num("sv_alltalk") == 1)
{
format(alltalkStatus, 255, "%s All Talk: ON %s", COLOR]
}
else
{
format(alltalkStatus, 255, "%s All Talk: Off %s", COLOR]
}
//show the message and do other stuff here
}
return Plugin_Handled
}
hope that helps