Raised This Month: $ Target: $400
 0% 

[Sql] Every 60.0 second save data


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
linuxd
New Member
Join Date: Jan 2011
Old 01-07-2011 , 08:47   [Sql] Every 60.0 second save data
Reply With Quote #1

How to do every 60 seconds to save data? This method which makes use problems:

PHP Code:
public plugin_init()
{
    
set_task(60.0"EventSaveExp"___"b");
}

public 
EventSaveExp()
{
    new 
iNumiPlayers[32], iPlayer
    get_players
(iPlayersiNum"ch")
    for(new 
i=0iNumi++)
    {
        
iPlayer iPlayers[i];
        
SaveData(iPlayer);
    }

SaveData function Send entries to mysql.
linuxd is offline
 



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


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