Does it work?
If I haven't missed anything, the map requesting part looks fine. However, I would change the advert function to:
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")
}
}
__________________