Raised This Month: $ Target: $400
 0% 

Help improving map-requester


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-02-2010 , 18:07   Re: Help improving map-requester
Reply With Quote #3

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(0NORMAL"[AMXX]: Want a map that isn't on the server? Typ ^x03requestmap mapname ^x01in console"
    } 
    
    else
    {
        
remove_task
    
}

</span></span>
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
 



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 03:33.


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