When this was %m insted of %B it worked. If you don't know what that means look
here.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Free Hollyday VIP"
#define VERSION "1.0"
#define AUTHOR "Evaldas.Grigas"
new const hollydays[][] =
{
"November/19"
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
new szDate[5]
get_time("%B/%d", szDate, charsmax(szDate))
for( new i = 0 ; i < sizeof( hollydays ) ; i++ )
if( !equal(szDate, hollydays[ i ]) )
{
pause("a")
}
}
public client_authorized( id )
{
set_user_flags(id , ADMIN_CHAT)
}
public client_putinserver( id )
{
set_user_flags(id , ADMIN_CHAT)
}
public client_infochanged( id )
{
set_user_flags(id , ADMIN_CHAT)
}
__________________