SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/12/2012, 11:13 AM   #1
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default SQLite problem!!

Hi,i created a script for saving hours/minutes/seconds on sqlite...when i connect on server first time everything goes well..but when i connect second time and play a few minutes/seconds.. the server give me thousands of hours/minutes..

Script: http://pastebin.com/Nk77TJaa

Thanks!
Hardwell is offline   Reply With Quote
Old 01/12/2012, 11:19 AM   #2
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,828
Reputation: 1401
Default Re: SQLite problem!!

You said on your previous thread that it was solved. Anyway, I replied on that thread, it might not be what you wanted, but it saves the total time and calculate the hours/minutes/seconds either on disconnect or by a command such as /stats.

See this.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 01/12/2012, 11:26 AM   #3
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default Re : SQLite problem!!

yes..it's solved...when i connect first time on the server...but when i connect second time...not work
Hardwell is offline   Reply With Quote
Old 01/12/2012, 12:53 PM   #4
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default Re : SQLite problem!!

Up!!
Hardwell is offline   Reply With Quote
Old 01/12/2012, 01:27 PM   #5
Hardwell
Big Clucker
 
Join Date: Mar 2012
Posts: 66
Reputation: 0
Default Re : SQLite problem!!

Solved!t/c
Hardwell is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQLite Problem Raggae1998 Scripting Help 4 13/07/2012 10:47 AM
SQLite problem Firzendxiw Scripting Help 5 08/06/2012 04:27 PM
Another SQLite Problem... aRoach Scripting Help 31 20/04/2012 11:06 PM
SQLite Problem MJ! Help Archive 13 16/07/2011 05:31 PM
SQLite Problem Rock_Ro Help Archive 11 08/07/2011 04:01 PM


All times are GMT. The time now is 08:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.