Raised This Month: $ Target: $400
 0% 

Need Help Please (don't know how to change it)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
zapille
Junior Member
Join Date: Oct 2006
Location: Wrocław, Poland
Old 04-08-2007 , 02:35   Need Help Please (don't know how to change it)
Reply With Quote #1

can someone change this into command cuz refresh every hour is very laggy on server and i need command to set in amx_task... it's from plugin 'csstats into html'

Code:
public plugin_init()
{    
    register_plugin("CS Stats into html","0.16","[email protected]")
    register_cvar("amx_csstatshtml","addons/amxx/custom/csstats")
    set_task(60.0,"html",0,"",0,"b") 
}

public html()
{
    new mmins[6]
    get_time("%M",mmins,5)
    new mins = str_to_num(mmins)
    get_cvar_string("amx_csstatshtml",g_fileToSavehtml,63)
    format(g_fileToSavehtml, 63, "%s.html",g_fileToSavehtml)
    if (mins == 00) writehtml(g_fileToSavehtml)
    return PLUGIN_CONTINUE
}
zapille is offline
Send a message via Skype™ to zapille
 



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 06:45.


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