Raised This Month: $ Target: $400
 0% 

Check for date from sql connection


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zenyai
Junior Member
Join Date: Dec 2007
Old 10-01-2009 , 21:16   Check for date from sql connection
Reply With Quote #1

Can anyone help me with this ?

I'm making a client program for updating the value in mysql If the player close the client the value didn't update

I'm completing my first amxx script and I want to get a time value from sql table ( In form of Hour Minute Second Example : 081534) and I want it to compare it with server's current time. I don't know how to compare and how to use amxx to get server's current time.

If players current time from sql differential is higher than 25 seconds, player will get kicked.

I really don't know how to start

Last edited by Zenyai; 10-01-2009 at 21:43.
Zenyai 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 22:41.


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