Raised This Month: $ Target: $400
 0% 

Code doesn't work. Please help.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 11-19-2011 , 16:28   Code doesn't work. Please help.
Reply With Quote #1

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(PLUGINVERSIONAUTHOR)

    new 
szDate[5]
    
get_time("%B/%d"szDatecharsmax(szDate))
    for( new 
sizeofhollydays ) ; i++ )
    if( !
equal(szDatehollydays]) )
    {
        
pause("a")
    }
}

public 
client_authorizedid )
{
    
set_user_flags(id ADMIN_CHAT)
}

public 
client_putinserverid )
{
    
set_user_flags(id ADMIN_CHAT)
}

public 
client_infochangedid )
{
    
set_user_flags(id ADMIN_CHAT)

__________________
Please enter this website everyday: http://forums.alliedmods.net/showthread.php?t=169067

Last edited by Evaldas.Grigas; 11-19-2011 at 16:28.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode