Raised This Month: $ Target: $400
 0% 

Little Problem but annoying


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-19-2004 , 07:50   Little Problem but annoying
Reply With Quote #1

Code:
public show_wc3v() {     if (get_cvar_num("sv_warcraft3")==1){         set_hudmessage(255,255,255,0.75,0.05,0, 1.0, 1.0, 0.1, 0.2, 13)         show_hudmessage(0,"%s : version %s",WC3NAME,WC3VERSION)     }     return PLUGIN_CONTINUE }
that is the function who is launch by that in plugin init of WC3FT
Code:
set_task(1.0, "show_wc3ver",0,"",0,"b")

... DON T WORK
oh WC3NAME & WC3VERSION are #define (and work)

- Other Problem
Code:
public wc3_check_time() {    new heure_str[8], cmd[255], minute_str[8]    get_time("%H",heure_str,8)    get_time("%M",minute_str,8)    new heure = strtonum(heure_str)    if ((heure >= 23) || (heure < 8))       format(cmd,255,"sv_warcraft3 1",heure)    else       format(cmd,255,"sv_warcraft3 0",heure)    server_cmd(cmd)    return PLUGIN_HANDLED }

does that can work ???

because DONT WORK ( i believe it s the set_task.... is broken)
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
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 14:40.


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