Raised This Month: $ Target: $400
 0% 

Help improving map-requester


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-02-2010 , 18:27   Re: Help improving map-requester
Reply With Quote #1

i did the same, but in another way xD
PHP Code:
    if(get_pcvar_num(cvar_advert) == 1)
        
set_task(get_cvar_float("amx_mapreq_advertdelay"), "advert"0__"b"
correct me if i'm wrong, but shouldn't it be:
PHP Code:
register_cvar("amx_mapreq_advertdelay""400.0"
so the cvar is a float?

btw: i forgot to thank you in my previous posts, Thanks
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-02-2010 , 18:35   Re: Help improving map-requester
Reply With Quote #2

Quote:
Originally Posted by drekes View Post
i did the same, but in another way xD
PHP Code:
    if(get_pcvar_num(cvar_advert) == 1)
        
set_task(get_cvar_float("amx_mapreq_advertdelay"), "advert"0__"b"
correct me if i'm wrong, but shouldn't it be:
PHP Code:
register_cvar("amx_mapreq_advertdelay""400.0"
so the cvar is a float?

btw: i forgot to thank you in my previous posts, Thanks
1. You don't need to do the "== 1" operation.
2. It shouldn't matter. Test it out.
__________________
fysiks is offline
Reply



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