Raised This Month: $ Target: $400
 0% 

[Help - SQL] Saving Timer vallue's


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 08-31-2012 , 07:54   Re: [Help - SQL] Saving Timer vallue's
Reply With Quote #9

thanks alot Infernuz ,
but there are still a couple mistakes in:
in check_times() the game has to check if the new time is a new record so when the if statement is 1 the new time has to be saved as the new record, as how you did it, it saved the vallue's 99m 99s999ms so i changed that to Run_query(3);

but now i think that when a new map without data is loaded it doesnt automaticly set the times to 99,99,999 and also when a map is correctly loaded i think it will also store 99.99.999 becous when you load querry(1) in plugin_init it will run querry(2) in the public query_handler.

I'm not sure how to check if there is data in the table for a new map so that only then the times 99m99s999ms are stored by performing Run_query(2);
Attached Files
File Type: sma Get Plugin or Get Source (1MsTimer.sma - 539 views - 7.6 KB)
__________________

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]

Last edited by striker07; 08-31-2012 at 07:55.
striker07 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 05:47.


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