Yes, it works perfect. If you want i can give you a line from the maprequests.ini file.
But should'nt i remove the task if cvar_advert == 0, to avoid it been called all the time? Or won't that work because of plugin init?
PHP Code:
public advert()
{
if( get_pcvar_num(cvar_advert) )
{
ColorChat(0, NORMAL, "[AMXX]: Want a map that isn't on the server? Typ ^x03requestmap mapname ^x01in console")
}
else
{
remove_task
}
}
</span></span>
__________________